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:
Marshall Greenblatt 2013-04-05 21:29:47 +00:00
parent 67d59cb2b9
commit 607a8a9338
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ void AppGetSettings(CefSettings& settings) {
CefString(&settings.cache_path) =
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() {