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

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

Issue 26809004: Add a flag for enabling/disabling the new accelerated scrolling path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: About to reland. 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.cc » ('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 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 // Disable False Start in SSL and TLS connections. 283 // Disable False Start in SSL and TLS connections.
284 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; 284 const char kDisableSSLFalseStart[] = "disable-ssl-false-start";
285 285
286 // Disable multithreaded GPU compositing of web content. 286 // Disable multithreaded GPU compositing of web content.
287 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 287 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
288 288
289 // Disables the threaded HTML parser in Blink 289 // Disables the threaded HTML parser in Blink
290 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser"; 290 const char kDisableThreadedHTMLParser[] = "disable-threaded-html-parser";
291 291
292 // Disable accelerated overflow scrolling in corner cases (that would not be
293 // handled by enable-accelerated-overflow-scroll).
294 const char kDisableUniversalAcceleratedOverflowScroll[] =
295 "disable-universal-accelerated-overflow-scroll";
296
292 // Disable web audio API. 297 // Disable web audio API.
293 const char kDisableWebAudio[] = "disable-webaudio"; 298 const char kDisableWebAudio[] = "disable-webaudio";
294 299
295 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object). 300 // Disables prefixed Media Source API (i.e., the WebKitMediaSource object).
296 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source"; 301 const char kDisableWebKitMediaSource[] = "disable-webkit-media-source";
297 302
298 // Disables unprefixed Media Source API (i.e., the MediaSource object). 303 // Disables unprefixed Media Source API (i.e., the MediaSource object).
299 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source"; 304 const char kDisableUnprefixedMediaSource[] = "disable-unprefixed-media-source";
300 305
301 // Don't enforce the same-origin policy. (Used by people testing their sites.) 306 // Don't enforce the same-origin policy. (Used by people testing their sites.)
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 // SYN packet. 536 // SYN packet.
532 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 537 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
533 538
534 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This 539 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This
535 // flag is ignored on Metro environment. 540 // flag is ignored on Metro environment.
536 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; 541 const char kEnableTextServicesFramework[] = "enable-text-services-framework";
537 542
538 // Enable multithreaded GPU compositing of web content. 543 // Enable multithreaded GPU compositing of web content.
539 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 544 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
540 545
546 // Enable accelerated overflow scrolling in all cases.
547 const char kEnableUniversalAcceleratedOverflowScroll[] =
548 "enable-universal-accelerated-overflow-scroll";
549
541 // Enable screen capturing support for MediaStream API. 550 // Enable screen capturing support for MediaStream API.
542 const char kEnableUserMediaScreenCapturing[] = 551 const char kEnableUserMediaScreenCapturing[] =
543 "enable-usermedia-screen-capturing"; 552 "enable-usermedia-screen-capturing";
544 553
545 // Enables the use of the viewport meta tag, which allows 554 // Enables the use of the viewport meta tag, which allows
546 // pages to control aspects of their own layout. This also turns on touch-screen 555 // pages to control aspects of their own layout. This also turns on touch-screen
547 // pinch gestures. 556 // pinch gestures.
548 const char kEnableViewport[] = "enable-viewport"; 557 const char kEnableViewport[] = "enable-viewport";
549 558
550 // Enables moving cursor by word in visual order. 559 // Enables moving cursor by word in visual order.
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 #endif 996 #endif
988 997
989 #if defined(USE_AURA) 998 #if defined(USE_AURA)
990 // Forces usage of the test compositor. Needed to run ui tests on bots. 999 // Forces usage of the test compositor. Needed to run ui tests on bots.
991 extern const char kTestCompositor[] = "test-compositor"; 1000 extern const char kTestCompositor[] = "test-compositor";
992 #endif 1001 #endif
993 1002
994 // Don't dump stuff here, follow the same order as the header. 1003 // Don't dump stuff here, follow the same order as the header.
995 1004
996 } // namespace switches 1005 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698