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

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

Issue 16114003: Don't send touch move to renderer while scrolling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase/switch to model of "no-touch-while-scrolling & touch-end after scrolling stops" Created 7 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 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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // sending them to the renderer. 741 // sending them to the renderer.
742 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; 742 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time";
743 743
744 // Runs the security test for the renderer sandbox. 744 // Runs the security test for the renderer sandbox.
745 const char kTestSandbox[] = "test-sandbox"; 745 const char kTestSandbox[] = "test-sandbox";
746 746
747 // Allows for forcing socket connections to http/https to use fixed ports. 747 // Allows for forcing socket connections to http/https to use fixed ports.
748 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 748 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
749 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 749 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
750 750
751 // Enables not sending touch events to renderer while scrolling.
752 const char kNoTouchToRendererWhileScrolling[] =
753 "no-touch-to-renderer-while-scrolling";
754
751 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can 755 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can
752 // specify the specific trace categories to include (e.g. 756 // specify the specific trace categories to include (e.g.
753 // --trace-startup=base,net) otherwise, all events are recorded. Setting this 757 // --trace-startup=base,net) otherwise, all events are recorded. Setting this
754 // flag results in the first call to BeginTracing() to receive all trace events 758 // flag results in the first call to BeginTracing() to receive all trace events
755 // since startup. In Chrome, you may find --trace-startup-file and 759 // since startup. In Chrome, you may find --trace-startup-file and
756 // --trace-startup-duration to control the auto-saving of the trace (not 760 // --trace-startup-duration to control the auto-saving of the trace (not
757 // supported in the base-only TraceLog component). 761 // supported in the base-only TraceLog component).
758 const char kTraceStartup[] = "trace-startup"; 762 const char kTraceStartup[] = "trace-startup";
759 763
760 // If supplied, sets the file which startup tracing will be stored into, if 764 // If supplied, sets the file which startup tracing will be stored into, if
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 904 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
901 905
902 // Enables/disables accelerated compositing for backgrounds of root layers with 906 // Enables/disables accelerated compositing for backgrounds of root layers with
903 // background-attachment: fixed. Requires kForceCompositingMode. 907 // background-attachment: fixed. Requires kForceCompositingMode.
904 const char kDisableAcceleratedFixedRootBackground[] = 908 const char kDisableAcceleratedFixedRootBackground[] =
905 "disable-accelerated-fixed-root-background"; 909 "disable-accelerated-fixed-root-background";
906 const char kEnableAcceleratedFixedRootBackground[] = 910 const char kEnableAcceleratedFixedRootBackground[] =
907 "enable-accelerated-fixed-root-background"; 911 "enable-accelerated-fixed-root-background";
908 912
909 } // namespace switches 913 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698