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

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

Issue 183153002: Make shared worker aware kEnableSharedWorkerMemoryInfo switch (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 8 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 // Force logging to be enabled. Logging is disabled by default in release 472 // Force logging to be enabled. Logging is disabled by default in release
473 // builds. 473 // builds.
474 const char kEnableLogging[] = "enable-logging"; 474 const char kEnableLogging[] = "enable-logging";
475 475
476 // Enable rasterizer that writes directly to GPU memory. 476 // Enable rasterizer that writes directly to GPU memory.
477 const char kEnableMapImage[] = "enable-map-image"; 477 const char kEnableMapImage[] = "enable-map-image";
478 478
479 // Enables the memory benchmarking extension 479 // Enables the memory benchmarking extension
480 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking"; 480 const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
481 481
482 // Make the values returned to window.performance.memory more granular and more
483 // up to date. Without this flag, the memory information is still available, but
484 // it is bucketized and updated less frequently.
485 const char kEnableMemoryInfo[] = "enable-memory-info";
486
482 // On Windows, converts the page to the currently-installed monitor profile. 487 // On Windows, converts the page to the currently-installed monitor profile.
483 // This does NOT enable color management for images. The source is still 488 // This does NOT enable color management for images. The source is still
484 // assumed to be sRGB. 489 // assumed to be sRGB.
485 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 490 const char kEnableMonitorProfile[] = "enable-monitor-profile";
486 491
487 // Enables use of cache if offline, even if it's stale 492 // Enables use of cache if offline, even if it's stale
488 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; 493 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access";
489 494
490 // Enables use of hardware overlay for fullscreen video playback. Android only. 495 // Enables use of hardware overlay for fullscreen video playback. Android only.
491 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video"; 496 const char kEnableOverlayFullscreenVideo[] = "enable-overlay-fullscreen-video";
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 1038
1034 // Disables support for Core Animation plugins. This is triggered when 1039 // Disables support for Core Animation plugins. This is triggered when
1035 // accelerated compositing is disabled. See http://crbug.com/122430 . 1040 // accelerated compositing is disabled. See http://crbug.com/122430 .
1036 const char kDisableCoreAnimationPlugins[] = 1041 const char kDisableCoreAnimationPlugins[] =
1037 "disable-core-animation-plugins"; 1042 "disable-core-animation-plugins";
1038 #endif 1043 #endif
1039 1044
1040 // Don't dump stuff here, follow the same order as the header. 1045 // Don't dump stuff here, follow the same order as the header.
1041 1046
1042 } // namespace switches 1047 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698