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

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

Issue 23147002: Enable high resolution time for TimeTicks::Now on Windows Canary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Simpler sleep & rebase Created 7 years, 3 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') | no next file » | 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 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // Enables the GPU benchmarking extension 406 // Enables the GPU benchmarking extension
407 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 407 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
408 408
409 // Enables TRACE for GL calls in the renderer. 409 // Enables TRACE for GL calls in the renderer.
410 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; 410 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing";
411 411
412 // See comment for kEnableCompositingForFixedPosition. 412 // See comment for kEnableCompositingForFixedPosition.
413 const char kEnableHighDpiCompositingForFixedPosition[] = 413 const char kEnableHighDpiCompositingForFixedPosition[] =
414 "enable-high-dpi-fixed-position-compositing"; 414 "enable-high-dpi-fixed-position-compositing";
415 415
416 #if defined(OS_WIN)
417 // Use high resolution timers for TimeTicks.
418 const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
419 #endif
420
416 // Enable HTML Imports 421 // Enable HTML Imports
417 extern const char kEnableHTMLImports[] = "enable-html-imports"; 422 extern const char kEnableHTMLImports[] = "enable-html-imports";
418 423
419 // Enables support for inband text tracks in media content. 424 // Enables support for inband text tracks in media content.
420 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; 425 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks";
421 426
422 // Enable inputmode attribute of HTML input or text element. 427 // Enable inputmode attribute of HTML input or text element.
423 extern const char kEnableInputModeAttribute[] = "enable-input-mode-attribute"; 428 extern const char kEnableInputModeAttribute[] = "enable-input-mode-attribute";
424 429
425 // Force logging to be enabled. Logging is disabled by default in release 430 // Force logging to be enabled. Logging is disabled by default in release
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 #endif 962 #endif
958 963
959 #if defined(USE_AURA) 964 #if defined(USE_AURA)
960 // Forces usage of the test compositor. Needed to run ui tests on bots. 965 // Forces usage of the test compositor. Needed to run ui tests on bots.
961 extern const char kTestCompositor[] = "test-compositor"; 966 extern const char kTestCompositor[] = "test-compositor";
962 #endif 967 #endif
963 968
964 // Don't dump stuff here, follow the same order as the header. 969 // Don't dump stuff here, follow the same order as the header.
965 970
966 } // namespace switches 971 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698