mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: Enable DevTools by default.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1181 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -62,6 +62,10 @@ void AppGetSettings(CefSettings& settings) {
|
|||||||
|
|
||||||
CefString(&settings.cache_path) =
|
CefString(&settings.cache_path) =
|
||||||
g_command_line->GetSwitchValue(cefclient::kCachePath);
|
g_command_line->GetSwitchValue(cefclient::kCachePath);
|
||||||
|
|
||||||
|
// Specify a port to enable DevTools if one isn't already specified.
|
||||||
|
if (!g_command_line->HasSwitch("remote-debugging-port"))
|
||||||
|
settings.remote_debugging_port = 8088;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppIsOffScreenRenderingEnabled() {
|
bool AppIsOffScreenRenderingEnabled() {
|
||||||
|
Reference in New Issue
Block a user