Improve the way that settings are specified (issue #878).

- Change CefBrowserSettings members that previously used a boolean to instead use a cef_state_t enumeration with default, enabled and disabled states.
- Remove CefBrowserSettings members that are unlikely to be used and that can also be set using Chromium command-line switches.
- Change the CEF command-line switch naming pattern to match Chromium and move the implementation out of cefclient.
- Improve documentation by listing the command-line switch, if any, associated with each setting.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1083 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-02-07 19:59:40 +00:00
parent 81d27df883
commit 830182196c
15 changed files with 415 additions and 506 deletions

View File

@@ -350,7 +350,7 @@ int main(int argc, char* argv[]) {
CefSettings settings;
// Populate the settings based on command line arguments.
AppGetSettings(settings, app);
AppGetSettings(settings);
// Initialize CEF.
CefInitialize(main_args, settings, app.get());
@@ -420,9 +420,6 @@ int main(int argc, char* argv[]) {
CefWindowInfo window_info;
CefBrowserSettings browserSettings;
// Populate the settings based on command line arguments.
AppGetBrowserSettings(browserSettings);
window_info.SetAsChild(vbox);
CefBrowserHost::CreateBrowserSync(