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

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: fix the case touch event queue could be empty when GetLatestEvent() is called Created 7 years, 6 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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 // sending them to the renderer. 707 // sending them to the renderer.
708 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; 708 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time";
709 709
710 // Runs the security test for the renderer sandbox. 710 // Runs the security test for the renderer sandbox.
711 const char kTestSandbox[] = "test-sandbox"; 711 const char kTestSandbox[] = "test-sandbox";
712 712
713 // Allows for forcing socket connections to http/https to use fixed ports. 713 // Allows for forcing socket connections to http/https to use fixed ports.
714 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 714 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
715 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 715 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
716 716
717 // Enables sending touch cancel to renderer on scrolling.
718 const char kTouchCancelOnScroll[] = "touch-cancel-on-scroll";
719
717 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can 720 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can
718 // specify the specific trace categories to include (e.g. 721 // specify the specific trace categories to include (e.g.
719 // --trace-startup=base,net) otherwise, all events are recorded. Setting this 722 // --trace-startup=base,net) otherwise, all events are recorded. Setting this
720 // flag results in the first call to BeginTracing() to receive all trace events 723 // flag results in the first call to BeginTracing() to receive all trace events
721 // since startup. In Chrome, you may find --trace-startup-file and 724 // since startup. In Chrome, you may find --trace-startup-file and
722 // --trace-startup-duration to control the auto-saving of the trace (not 725 // --trace-startup-duration to control the auto-saving of the trace (not
723 // supported in the base-only TraceLog component). 726 // supported in the base-only TraceLog component).
724 const char kTraceStartup[] = "trace-startup"; 727 const char kTraceStartup[] = "trace-startup";
725 728
726 // If supplied, sets the file which startup tracing will be stored into, if 729 // If supplied, sets the file which startup tracing will be stored into, if
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 // Forward overscroll event data from the renderer to the browser. 857 // Forward overscroll event data from the renderer to the browser.
855 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 858 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
856 859
857 // Enables 'image/webp' accept header for image requests. 860 // Enables 'image/webp' accept header for image requests.
858 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 861 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
859 862
860 // Enables WebGL extensions not yet approved by the community. 863 // Enables WebGL extensions not yet approved by the community.
861 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 864 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
862 865
863 } // namespace switches 866 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698