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

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: 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
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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 411
412 // Enables compositor-accelerated touch-screen pinch gestures. 412 // Enables compositor-accelerated touch-screen pinch gestures.
413 const char kEnablePinch[] = "enable-pinch"; 413 const char kEnablePinch[] = "enable-pinch";
414 414
415 // Make the values returned to window.performance.memory more granular and more 415 // Make the values returned to window.performance.memory more granular and more
416 // up to date in shared worker. Without this flag, the memory information is 416 // up to date in shared worker. Without this flag, the memory information is
417 // still available, but it is bucketized and updated less frequently. This flag 417 // still available, but it is bucketized and updated less frequently. This flag
418 // also applys to workers. 418 // also applys to workers.
419 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; 419 const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
420 420
421 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 421 // Set options to cache V8 data. (off, preparse data, or code)
422 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 422 const char kV8CacheOptions[] = "v8-cache-options";
423 423
424 // Enables the CSS multicol implementation that uses the regions implementation. 424 // Enables the CSS multicol implementation that uses the regions implementation.
425 const char kEnableRegionBasedColumns[] = 425 const char kEnableRegionBasedColumns[] =
426 "enable-region-based-columns"; 426 "enable-region-based-columns";
427 427
428 // Enables targeted style recalculation optimizations. 428 // Enables targeted style recalculation optimizations.
429 const char kEnableTargetedStyleRecalc[] = 429 const char kEnableTargetedStyleRecalc[] =
430 "enable-targeted-style-recalc"; 430 "enable-targeted-style-recalc";
431 431
432 // Cause the OS X sandbox write to syslog every time an access to a resource 432 // Cause the OS X sandbox write to syslog every time an access to a resource
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 // Enable the Win32K process mitigation policy for renderer processes which 942 // Enable the Win32K process mitigation policy for renderer processes which
943 // prevents them from invoking user32 and gdi32 system calls which enter 943 // prevents them from invoking user32 and gdi32 system calls which enter
944 // the kernel. This is only supported on Windows 8 and beyond. 944 // the kernel. This is only supported on Windows 8 and beyond.
945 const char kEnableWin32kRendererLockDown[] 945 const char kEnableWin32kRendererLockDown[]
946 = "enable_win32k_renderer_lockdown"; 946 = "enable_win32k_renderer_lockdown";
947 #endif 947 #endif
948 948
949 // Don't dump stuff here, follow the same order as the header. 949 // Don't dump stuff here, follow the same order as the header.
950 950
951 } // namespace switches 951 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698