mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-25 13:08:50 +01:00
f5bc72b234
- The sandbox is now enabled by default on all platforms. Use the CefSettings.no_sandbox option or the "no-sandbox" command-line flag to disable sandbox support. - Windows: See cef_sandbox_win.h for requirements to enable sandbox support. - Windows: If Visual Studio isn't installed in the standard location set the CEF_VCVARS environment variable before running make_distrib.py or automate.py (see msvs_env.bat). - Linux: For binary distributions a new chrome-sandbox executable with SUID permissions must be placed next to the CEF executable. See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for details on setting up the development environment when building CEF from source code. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1518 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
33 lines
827 B
C++
33 lines
827 B
C++
// Copyright (c) 2012 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that can
|
|
// be found in the LICENSE file.
|
|
|
|
#include "include/cef_app.h"
|
|
|
|
// This file is shared by cefclient and cef_unittests so don't include using
|
|
// a qualified path.
|
|
#include "client_app.h" // NOLINT(build/include)
|
|
|
|
// Stub implementations.
|
|
std::string AppGetWorkingDirectory() {
|
|
return std::string();
|
|
}
|
|
CefWindowHandle AppGetMainHwnd() {
|
|
return NULL;
|
|
}
|
|
void AppQuitMessageLoop() {
|
|
}
|
|
bool AppIsOffScreenRenderingEnabled() {
|
|
return false;
|
|
}
|
|
|
|
// Process entry point.
|
|
int main(int argc, char* argv[]) {
|
|
CefMainArgs main_args(argc, argv);
|
|
|
|
CefRefPtr<CefApp> app(new ClientApp);
|
|
|
|
// Execute the secondary process.
|
|
return CefExecuteProcess(main_args, app, NULL);
|
|
}
|