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

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

Issue 41953002: Use HighResNow whenever possible on Windows. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 // Enables the GPU benchmarking extension 421 // Enables the GPU benchmarking extension
422 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking"; 422 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
423 423
424 // Enables TRACE for GL calls in the renderer. 424 // Enables TRACE for GL calls in the renderer.
425 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; 425 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing";
426 426
427 // See comment for kEnableCompositingForFixedPosition. 427 // See comment for kEnableCompositingForFixedPosition.
428 const char kEnableHighDpiCompositingForFixedPosition[] = 428 const char kEnableHighDpiCompositingForFixedPosition[] =
429 "enable-high-dpi-fixed-position-compositing"; 429 "enable-high-dpi-fixed-position-compositing";
430 430
431 #if defined(OS_WIN)
432 // Use high resolution timers for TimeTicks.
433 const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
434 #endif
435
436 // Enable HTML Imports 431 // Enable HTML Imports
437 extern const char kEnableHTMLImports[] = "enable-html-imports"; 432 extern const char kEnableHTMLImports[] = "enable-html-imports";
438 433
439 // Enables support for inband text tracks in media content. 434 // Enables support for inband text tracks in media content.
440 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; 435 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks";
441 436
442 // Enable inputmode attribute of HTML input or text element. 437 // Enable inputmode attribute of HTML input or text element.
443 extern const char kEnableInputModeAttribute[] = "enable-input-mode-attribute"; 438 extern const char kEnableInputModeAttribute[] = "enable-input-mode-attribute";
444 439
445 // Force logging to be enabled. Logging is disabled by default in release 440 // Force logging to be enabled. Logging is disabled by default in release
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 #endif 981 #endif
987 982
988 #if defined(USE_AURA) 983 #if defined(USE_AURA)
989 // Forces usage of the test compositor. Needed to run ui tests on bots. 984 // Forces usage of the test compositor. Needed to run ui tests on bots.
990 extern const char kTestCompositor[] = "test-compositor"; 985 extern const char kTestCompositor[] = "test-compositor";
991 #endif 986 #endif
992 987
993 // Don't dump stuff here, follow the same order as the header. 988 // Don't dump stuff here, follow the same order as the header.
994 989
995 } // namespace switches 990 } // 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