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

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

Issue 431323003: Implement --v8-cache-options (instead of --enable-preparsed-js-caching) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixup after more rebase. Created 6 years, 4 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 415
416 // Enables compositor-accelerated touch-screen pinch gestures. 416 // Enables compositor-accelerated touch-screen pinch gestures.
417 const char kEnablePinch[] = "enable-pinch"; 417 const char kEnablePinch[] = "enable-pinch";
418 418
419 // Make the values returned to window.performance.memory more granular and more 419 // Make the values returned to window.performance.memory more granular and more
420 // up to date in shared worker. Without this flag, the memory information is 420 // up to date in shared worker. Without this flag, the memory information is
421 // still available, but it is bucketized and updated less frequently. This flag 421 // still available, but it is bucketized and updated less frequently. This flag
422 // also applys to workers. 422 // also applys to workers.
423 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; 423 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
424 424
425 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 425 // Set options to cache V8 data. (off, preparse data, or code)
426 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 426 const char kV8CacheOptions[] = "v8-cache-options";
427 427
428 // Enables the CSS multicol implementation that uses the regions implementation. 428 // Enables the CSS multicol implementation that uses the regions implementation.
429 const char kEnableRegionBasedColumns[] = 429 const char kEnableRegionBasedColumns[] =
430 "enable-region-based-columns"; 430 "enable-region-based-columns";
431 431
432 // Replaces renderer-browser IPC channel with ChnanelMojo. 432 // Replaces renderer-browser IPC channel with ChnanelMojo.
433 const char kEnableRendererMojoChannel[] = 433 const char kEnableRendererMojoChannel[] =
434 "enable-renderer-mojo-channel"; 434 "enable-renderer-mojo-channel";
435 435
436 // Enables targeted style recalculation optimizations. 436 // Enables targeted style recalculation optimizations.
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 // Enable the Win32K process mitigation policy for renderer processes which 947 // Enable the Win32K process mitigation policy for renderer processes which
948 // prevents them from invoking user32 and gdi32 system calls which enter 948 // prevents them from invoking user32 and gdi32 system calls which enter
949 // the kernel. This is only supported on Windows 8 and beyond. 949 // the kernel. This is only supported on Windows 8 and beyond.
950 const char kEnableWin32kRendererLockDown[] 950 const char kEnableWin32kRendererLockDown[]
951 = "enable_win32k_renderer_lockdown"; 951 = "enable_win32k_renderer_lockdown";
952 #endif 952 #endif
953 953
954 // Don't dump stuff here, follow the same order as the header. 954 // Don't dump stuff here, follow the same order as the header.
955 955
956 } // namespace switches 956 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698