prefs->images_enabled = b;
if (self->web_preferences_.GetBoolean("java", &b))
prefs->java_enabled = b;
- if (self->web_preferences_.GetBoolean("text-areas-are-resizable", &b))
+ if (self->web_preferences_.GetBoolean("textAreasAreResizable", &b))
prefs->text_areas_are_resizable = b;
if (self->web_preferences_.GetBoolean("webgl", &b))
prefs->experimental_webgl_enabled = b;
if (self->web_preferences_.GetBoolean("webaudio", &b))
prefs->webaudio_enabled = b;
- if (self->web_preferences_.GetBoolean("web-security", &b)) {
+ if (self->web_preferences_.GetBoolean("webSecurity", &b)) {
prefs->web_security_enabled = b;
prefs->allow_displaying_insecure_content = !b;
prefs->allow_running_insecure_content = !b;
}
- if (self->web_preferences_.GetBoolean("allow-displaying-insecure-content",
+ if (self->web_preferences_.GetBoolean("allowDisplayingInsecureContent",
&b))
prefs->allow_displaying_insecure_content = b;
- if (self->web_preferences_.GetBoolean("allow-running-insecure-content", &b))
+ if (self->web_preferences_.GetBoolean("allowRunningInsecureContent", &b))
prefs->allow_running_insecure_content = b;
}
const char kY[] = "y";
const char kWidth[] = "width";
const char kHeight[] = "height";
-const char kMinWidth[] = "min-width";
-const char kMinHeight[] = "min-height";
-const char kMaxWidth[] = "max-width";
-const char kMaxHeight[] = "max-height";
+const char kMinWidth[] = "minWidth";
+const char kMinHeight[] = "minHeight";
+const char kMaxWidth[] = "maxWidth";
+const char kMaxHeight[] = "maxHeight";
const char kResizable[] = "resizable";
const char kFullscreen[] = "fullscreen";
// Whether the window should show in taskbar.
-const char kSkipTaskbar[] = "skip-taskbar";
+const char kSkipTaskbar[] = "skipTaskbar";
// Start with the kiosk mode, see Opera's page for description:
// http://www.opera.com/support/mastering/kiosk/
const char kKiosk[] = "kiosk";
// Make windows stays on the top of all other windows.
-const char kAlwaysOnTop[] = "always-on-top";
+const char kAlwaysOnTop[] = "alwaysOnTop";
// Enable the NSView to accept first mouse event.
-const char kAcceptFirstMouse[] = "accept-first-mouse";
+const char kAcceptFirstMouse[] = "acceptFirstMouse";
// Whether window size should include window frame.
-const char kUseContentSize[] = "use-content-size";
+const char kUseContentSize[] = "useContentSize";
// The requested title bar style for the window
-const char kTitleBarStyle[] = "title-bar-style";
+const char kTitleBarStyle[] = "titleBarStyle";
// The menu bar is hidden unless "Alt" is pressed.
-const char kAutoHideMenuBar[] = "auto-hide-menu-bar";
+const char kAutoHideMenuBar[] = "autoHideMenuBar";
// Enable window to be resized larger than screen.
-const char kEnableLargerThanScreen[] = "enable-larger-than-screen";
+const char kEnableLargerThanScreen[] = "enableLargerThanScreen";
// Forces to use dark theme on Linux.
-const char kDarkTheme[] = "dark-theme";
+const char kDarkTheme[] = "darkTheme";
// Whether the window should be transparent.
const char kTransparent[] = "transparent";
const char kType[] = "type";
// Disable auto-hiding cursor.
-const char kDisableAutoHideCursor[] = "disable-auto-hide-cursor";
+const char kDisableAutoHideCursor[] = "disableAutoHideCursor";
// Use the OS X's standard window instead of the textured window.
-const char kStandardWindow[] = "standard-window";
+const char kStandardWindow[] = "standardWindow";
// Default browser window background color.
-const char kBackgroundColor[] = "background-color";
+const char kBackgroundColor[] = "backgroundColor";
// The WebPreferences.
-const char kWebPreferences[] = "web-preferences";
+const char kWebPreferences[] = "webPreferences";
// The factor of which page should be zoomed.
-const char kZoomFactor[] = "zoom-factor";
+const char kZoomFactor[] = "zoomFactor";
// Script that will be loaded by guest WebContents before other scripts.
const char kPreloadScript[] = "preload";
// Like --preload, but the passed argument is an URL.
-const char kPreloadUrl[] = "preload-url";
+const char kPreloadUrl[] = "preloadUrl";
// Enable the node integration.
-const char kNodeIntegration[] = "node-integration";
+const char kNodeIntegration[] = "nodeIntegration";
// Instancd ID of guest WebContents.
-const char kGuestInstanceID[] = "guest-instance-id";
+const char kGuestInstanceID[] = "guestInstanceId";
// Web runtime features.
-const char kExperimentalFeatures[] = "experimental-features";
-const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
-const char kOverlayScrollbars[] = "overlay-scrollbars";
-const char kOverlayFullscreenVideo[] = "overlay-fullscreen-video";
-const char kSharedWorker[] = "shared-worker";
+const char kExperimentalFeatures[] = "experimentalFeatures";
+const char kExperimentalCanvasFeatures[] = "experimentalCanvasFeatures";
+const char kOverlayScrollbars[] = "overlayScrollbars";
+const char kOverlayFullscreenVideo[] = "overlayFullscreenVideo";
+const char kSharedWorker[] = "sharedWorker";
// Enable plugins.
const char kEnablePlugins[] = "enable-plugins";