Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: content/public/common/content_switches.cc

Issue 617073002: Plugin Power Saver: Add flag to experiment behind. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add histograms entry Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 // Enables use of hardware overlay for fullscreen video playback. Android only. 389 // Enables use of hardware overlay for fullscreen video playback. Android only.
390 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; 390 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video";
391 391
392 // Forward overscroll event data from the renderer to the browser. 392 // Forward overscroll event data from the renderer to the browser.
393 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 393 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
394 394
395 // Enables compositor-accelerated touch-screen pinch gestures. 395 // Enables compositor-accelerated touch-screen pinch gestures.
396 const char kEnablePinch[] = "enable-pinch"; 396 const char kEnablePinch[] = "enable-pinch";
397 397
398 // Enables the plugin power saver feature.
399 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
400
398 // Make the values returned to window.performance.memory more granular and more 401 // Make the values returned to window.performance.memory more granular and more
399 // up to date in shared worker. Without this flag, the memory information is 402 // up to date in shared worker. Without this flag, the memory information is
400 // still available, but it is bucketized and updated less frequently. This flag 403 // still available, but it is bucketized and updated less frequently. This flag
401 // also applys to workers. 404 // also applys to workers.
402 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; 405 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
403 406
404 // Set options to cache V8 data. (off, preparse data, or code) 407 // Set options to cache V8 data. (off, preparse data, or code)
405 const char kV8CacheOptions[] = "v8-cache-options"; 408 const char kV8CacheOptions[] = "v8-cache-options";
406 409
407 // Enables the CSS multicol implementation that uses the regions implementation. 410 // Enables the CSS multicol implementation that uses the regions implementation.
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 // Enable the Win32K process mitigation policy for renderer processes which 957 // Enable the Win32K process mitigation policy for renderer processes which
955 // prevents them from invoking user32 and gdi32 system calls which enter 958 // prevents them from invoking user32 and gdi32 system calls which enter
956 // the kernel. This is only supported on Windows 8 and beyond. 959 // the kernel. This is only supported on Windows 8 and beyond.
957 const char kEnableWin32kRendererLockDown[] 960 const char kEnableWin32kRendererLockDown[]
958 = "enable_win32k_renderer_lockdown"; 961 = "enable_win32k_renderer_lockdown";
959 #endif 962 #endif
960 963
961 // Don't dump stuff here, follow the same order as the header. 964 // Don't dump stuff here, follow the same order as the header.
962 965
963 } // namespace switches 966 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698