Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / content / public / common / content_switches.cc
index ddf8f43..ea4a1b3 100644 (file)
@@ -44,6 +44,10 @@ const char kBlacklistAcceleratedCompositing[] =
 // Blacklist the GPU for WebGL.
 const char kBlacklistWebGL[]                = "blacklist-webgl";
 
+// Choose which logging channels in blink platform to activate.  See
+// Logging.cpp in blink's Source/platform for a list of available channels.
+const char kBlinkPlatformLogChannels[]      = "blink-platform-log-channels";
+
 // Block cross-site documents (i.e., HTML/XML/JSON) from being loaded in
 // subresources when a document is not supposed to read them.  This will later
 // allow us to block them from the entire renderer process when site isolation
@@ -157,12 +161,6 @@ const char kDisableDesktopNotifications[]   = "disable-desktop-notifications";
 const char kDisableNavigatorContentUtils[]  =
       "disable-navigator-content-utils";
 
-// Disable device motion events.
-const char kDisableDeviceMotion[]           = "disable-device-motion";
-
-// Disable device orientation events.
-const char kDisableDeviceOrientation[]      = "disable-device-orientation";
-
 // Handles URL requests by NPAPI plugins through the renderer.
 const char kDisableDirectNPAPIRequests[]    = "disable-direct-npapi-requests";
 
@@ -196,9 +194,6 @@ const char kDisableForceCompositingMode[]   = "disable-force-compositing-mode";
 // Disable the JavaScript Full Screen API.
 const char kDisableFullScreen[]             = "disable-fullscreen";
 
-// Suppresses support for the Geolocation javascript API.
-const char kDisableGeolocation[]            = "disable-geolocation";
-
 // Disable deferral of scroll-ending gesture events when a scroll is active.
 const char kDisableGestureDebounce[]        = "disable-gesture-debounce";
 
@@ -238,6 +233,9 @@ const char kDisableHangMonitor[]            = "disable-hang-monitor";
 // Disable the RenderThread's HistogramCustomizer.
 const char kDisableHistogramCustomizer[]    = "disable-histogram-customizer";
 
+// Prevent infobars from appearing.
+const char kDisableInfoBars[]               = "disable-infobars";
+
 // Prevent Java from running.
 const char kDisableJava[]                   = "disable-java";
 
@@ -289,6 +287,9 @@ const char kDisableRemoteFonts[]            = "disable-remote-fonts";
 // Turns off the accessibility in the renderer.
 const char kDisableRendererAccessibility[]  = "disable-renderer-accessibility";
 
+// Disables the new layout/paint system which paints after layout is complete.
+const char kDisableRepaintAfterLayout[]     = "disable-repaint-after-layout";
+
 // Disable the seccomp filter sandbox (seccomp-bpf) (Linux only).
 const char kDisableSeccompFilterSandbox[]   = "disable-seccomp-filter-sandbox";
 
@@ -458,9 +459,6 @@ const char kEnableFixedPositionCreatesStackingContext[]
 // Enable Gesture Tap Highlight
 const char kEnableGestureTapHighlight[]     = "enable-gesture-tap-highlight";
 
-// Enables the GPU benchmarking extension
-const char kEnableGpuBenchmarking[]         = "enable-gpu-benchmarking";
-
 // Enables TRACE for GL calls in the renderer.
 const char kEnableGpuClientTracing[]        = "enable-gpu-client-tracing";
 
@@ -469,6 +467,9 @@ const char kEnableHighDpiCompositingForFixedPosition[] =
      "enable-high-dpi-fixed-position-compositing";
 
 #if defined(OS_WIN)
+// Disable the Legacy Window which corresponds to the size of the WebContents.
+const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
+
 // Enables the DirectWrite font rendering system on windows.
 const char kEnableDirectWrite[]             = "enable-direct-write";
 
@@ -539,6 +540,10 @@ const char kEnableRegionBasedColumns[] =
 const char kEnableRepaintAfterLayout[] =
     "enable-repaint-after-layout";
 
+// Enables targeted style recalculation optimizations.
+const char kEnableTargetedStyleRecalc[] =
+    "enable-targeted-style-recalc";
+
 // Cause the OS X sandbox write to syslog every time an access to a resource
 // is denied by the sandbox.
 const char kEnableSandboxLogging[]          = "enable-sandbox-logging";
@@ -581,10 +586,6 @@ const char kEnableServiceWorker[]           = "enable-service-worker";
 // SYN packet.
 const char kEnableTcpFastOpen[]             = "enable-tcp-fastopen";
 
-// Enable Text Service Framework(TSF) for text inputting instead of IMM32. This
-// flag is ignored on Metro environment.
-const char kEnableTextServicesFramework[]   = "enable-text-services-framework";
-
 // Enable multithreaded GPU compositing of web content.
 const char kEnableThreadedCompositing[]     = "enable-threaded-compositing";
 
@@ -877,6 +878,11 @@ const char kTestSandbox[]                   = "test-sandbox";
 // If unspecified, touch timeout behavior will be disabled.
 const char kTouchAckTimeoutDelayMs[]        = "touch-ack-timeout-delay-ms";
 
+const char kTouchScrollingMode[]            = "touch-scrolling-mode";
+const char kTouchScrollingModeTouchcancel[] = "touchcancel";
+const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove";
+const char kTouchScrollingModeAbsorbTouchmove[] = "absorb-touchmove";
+
 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
 // can specify the specific trace categories to include (e.g.
 // --trace-shutdown=base,net) otherwise, all events are recorded.
@@ -929,9 +935,6 @@ const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
 const char kUseFakeUIForMediaStream[]     = "use-fake-ui-for-media-stream";
 
-// Use hardware gpu, if available, for tests.
-const char kUseGpuInTests[]                 = "use-gpu-in-tests";
-
 // Set when Chromium should use a mobile user agent.
 const char kUseMobileUserAgent[] = "use-mobile-user-agent";
 
@@ -953,15 +956,13 @@ const char kUtilityProcessAllowedDir[]      = "utility-allowed-dir";
 // Allows MDns to access network in sandboxed process.
 const char kUtilityProcessEnableMDns[]      = "utility-enable-mdns";
 
+const char kUtilityProcessRunningElevated[] = "utility-run-elevated";
+
 // Will add kWaitForDebugger to every child processes. If a value is passed, it
 // will be used as a filter to determine if the child process should have the
 // kWaitForDebugger flag passed on or not.
 const char kWaitForDebuggerChildren[]       = "wait-for-debugger-children";
 
-// Choose which logging channels in WebCore to activate.  See
-// Logging.cpp in WebKit's WebCore for a list of available channels.
-const char kWebCoreLogChannels[]            = "webcore-log-channels";
-
 // Overrides the amount of shared memory the webgl command buffer allocates
 const char kWebGLCommandBufferSizeKb[]      = "webgl-command-buffer-size-kb";