2011-11-15 00:43:52 +01:00
|
|
|
// Copyright (c) 2011 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.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
// This file is shared by cefclient and cef_unittests so don't include using
|
|
|
|
// a qualified path.
|
|
|
|
#include "cefclient_switches.h" // NOLINT(build/include)
|
2011-11-15 00:43:52 +01:00
|
|
|
|
|
|
|
namespace cefclient {
|
|
|
|
|
2012-09-07 22:35:43 +02:00
|
|
|
const char kUrl[] = "url";
|
|
|
|
|
2011-11-15 00:43:52 +01:00
|
|
|
// CefSettings attributes.
|
|
|
|
const char kMultiThreadedMessageLoop[] = "multi-threaded-message-loop";
|
|
|
|
const char kCachePath[] = "cache-path";
|
|
|
|
const char kUserAgent[] = "user-agent";
|
|
|
|
const char kProductVersion[] = "product-version";
|
|
|
|
const char kLocale[] = "locale";
|
|
|
|
const char kLogFile[] = "log-file";
|
|
|
|
const char kLogSeverity[] = "log-severity";
|
|
|
|
const char kLogSeverity_Verbose[] = "verbose";
|
|
|
|
const char kLogSeverity_Info[] = "info";
|
|
|
|
const char kLogSeverity_Warning[] = "warning";
|
|
|
|
const char kLogSeverity_Error[] = "error";
|
|
|
|
const char kLogSeverity_ErrorReport[] = "error-report";
|
|
|
|
const char kLogSeverity_Disable[] = "disable";
|
|
|
|
const char kGraphicsImpl[] = "graphics-implementation";
|
|
|
|
const char kGraphicsImpl_Angle[] = "angle";
|
|
|
|
const char kGraphicsImpl_AngleCmdBuffer[] = "angle-command-buffer";
|
|
|
|
const char kGraphicsImpl_Desktop[] = "desktop";
|
|
|
|
const char kGraphicsImpl_DesktopCmdBuffer[] = "desktop-command-buffer";
|
|
|
|
const char kLocalStorageQuota[] = "local-storage-quota";
|
|
|
|
const char kSessionStorageQuota[] = "session-storage-quota";
|
|
|
|
const char kJavascriptFlags[] = "javascript-flags";
|
2012-09-06 00:34:30 +02:00
|
|
|
const char kResourcesDirPath[] = "resources-dir-path";
|
2012-02-16 18:11:49 +01:00
|
|
|
const char kLocalesDirPath[] = "locales-dir-path";
|
|
|
|
const char kPackLoadingDisabled[] = "pack-loading-disabled";
|
2012-10-12 18:38:24 +02:00
|
|
|
const char kUncaughtExceptionStackSize[] = "uncaught-exception-stack-size";
|
2011-11-15 00:43:52 +01:00
|
|
|
|
|
|
|
// CefBrowserSettings attributes.
|
|
|
|
const char kDragDropDisabled[] = "drag-drop-disabled";
|
|
|
|
const char kLoadDropsDisabled[] = "load-drops-disabled";
|
2011-11-23 18:55:33 +01:00
|
|
|
const char kHistoryDisabled[] = "history-disabled";
|
2012-08-15 01:33:57 +02:00
|
|
|
const char kAnimationFrameRate[] = "animation-frame-rate";
|
2011-11-15 00:43:52 +01:00
|
|
|
const char kRemoteFontsDisabled[] = "remote-fonts-disabled";
|
|
|
|
const char kDefaultEncoding[] = "default-encoding";
|
|
|
|
const char kEncodingDetectorEnabled[] = "encoding-detector-enabled";
|
|
|
|
const char kJavascriptDisabled[] = "javascript-disabled";
|
|
|
|
const char kJavascriptOpenWindowsDisallowed[] =
|
|
|
|
"javascript-open-windows-disallowed";
|
|
|
|
const char kJavascriptCloseWindowsDisallowed[] =
|
|
|
|
"javascript-close-windows-disallowed";
|
|
|
|
const char kJavascriptAccessClipboardDisallowed[] =
|
|
|
|
"javascript-access-clipboard-disallowed";
|
|
|
|
const char kDomPasteDisabled[] = "dom-paste-disabled";
|
|
|
|
const char kCaretBrowsingDisabled[] = "caret-browsing-enabled";
|
|
|
|
const char kJavaDisabled[] = "java-disabled";
|
|
|
|
const char kPluginsDisabled[] = "plugins-disabled";
|
|
|
|
const char kUniversalAccessFromFileUrlsAllowed[] =
|
|
|
|
"universal-access-from-file-urls-allowed";
|
|
|
|
const char kFileAccessFromFileUrlsAllowed[] =
|
|
|
|
"file-access-from-file-urls-allowed";
|
|
|
|
const char kWebSecurityDisabled[] = "web-security-disabled";
|
|
|
|
const char kXssAuditorEnabled[] = "xss-auditor-enabled";
|
|
|
|
const char kImageLoadingDisabled[] = "image-load-disabled";
|
|
|
|
const char kShrinkStandaloneImagesToFit[] = "shrink-standalone-images-to-fit";
|
|
|
|
const char kSiteSpecificQuirksDisabled[] = "site-specific-quirks-disabled";
|
|
|
|
const char kTextAreaResizeDisabled[] = "text-area-resize-disabled";
|
|
|
|
const char kPageCacheDisabled[] = "page-cache-disabled";
|
|
|
|
const char kTabToLinksDisabled[] = "tab-to-links-disabled";
|
|
|
|
const char kHyperlinkAuditingDisabled[] = "hyperlink-auditing-disabled";
|
|
|
|
const char kUserStyleSheetEnabled[] = "user-style-sheet-enabled";
|
|
|
|
const char kUserStyleSheetLocation[] = "user-style-sheet-location";
|
|
|
|
const char kAuthorAndUserStylesDisabled[] = "author-and-user-styles-disabled";
|
|
|
|
const char kLocalStorageDisabled[] = "local-storage-disabled";
|
|
|
|
const char kDatabasesDisabled[] = "databases-disabled";
|
|
|
|
const char kApplicationCacheDisabled[] = "application-cache-disabled";
|
|
|
|
const char kWebglDisabled[] = "webgl-disabled";
|
|
|
|
const char kAcceleratedCompositingEnabled[] = "accelerated-compositing-enabled";
|
|
|
|
const char kAcceleratedLayersDisabled[] = "accelerated-layers-disabled";
|
|
|
|
const char kAcceleratedVideoDisabled[] = "accelerated-video-disabled";
|
|
|
|
const char kAcceledated2dCanvasDisabled[] = "accelerated-2d-canvas-disabled";
|
2011-12-21 19:35:55 +01:00
|
|
|
const char kAcceleratedPaintingDisabled[] = "accelerated-painting-disabled";
|
|
|
|
const char kAcceleratedFiltersDisabled[] = "accelerated-filters-disabled";
|
2011-11-15 00:43:52 +01:00
|
|
|
const char kAcceleratedPluginsDisabled[] = "accelerated-plugins-disabled";
|
|
|
|
const char kDeveloperToolsDisabled[] = "developer-tools-disabled";
|
2011-12-21 19:35:55 +01:00
|
|
|
const char kFullscreenEnabled[] = "fullscreen-enabled";
|
2011-11-15 00:43:52 +01:00
|
|
|
|
2011-11-23 23:47:09 +01:00
|
|
|
// Other attributes.
|
|
|
|
const char kProxyType[] = "proxy-type";
|
|
|
|
const char kProxyType_Direct[] = "direct";
|
|
|
|
const char kProxyType_Named[] = "named";
|
|
|
|
const char kProxyType_Pac[] = "pac";
|
|
|
|
const char kProxyConfig[] = "proxy-config";
|
|
|
|
|
2011-11-15 00:43:52 +01:00
|
|
|
} // namespace cefclient
|