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

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

Issue 1006003003: Adding a chrome flag to control the touch selection granularity strategy used by Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unified_text_selection_ALL_3
Patch Set: Removing logging. Created 5 years, 9 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 const char kTabCloseButtonsHiddenWithTouch[] = 769 const char kTabCloseButtonsHiddenWithTouch[] =
770 "tab-close-buttons-hidden-with-touch"; 770 "tab-close-buttons-hidden-with-touch";
771 771
772 // Allows for forcing socket connections to http/https to use fixed ports. 772 // Allows for forcing socket connections to http/https to use fixed ports.
773 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 773 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
774 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 774 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
775 775
776 // Type of the current test harness ("browser" or "ui"). 776 // Type of the current test harness ("browser" or "ui").
777 const char kTestType[] = "test-type"; 777 const char kTestType[] = "test-type";
778 778
779 // Controls how text selection granularity changes when touch text selection
780 // handles are dragged.
781 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy";
782
779 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 783 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
780 // can specify the specific trace categories to include (e.g. 784 // can specify the specific trace categories to include (e.g.
781 // --trace-shutdown=base,net) otherwise, all events are recorded. 785 // --trace-shutdown=base,net) otherwise, all events are recorded.
782 // --trace-shutdown-file can be used to control where the trace log gets stored 786 // --trace-shutdown-file can be used to control where the trace log gets stored
783 // to since there is otherwise no way to access the result. 787 // to since there is otherwise no way to access the result.
784 const char kTraceShutdown[] = "trace-shutdown"; 788 const char kTraceShutdown[] = "trace-shutdown";
785 789
786 // If supplied, sets the file which shutdown tracing will be stored into, if 790 // If supplied, sets the file which shutdown tracing will be stored into, if
787 // omitted the default will be used "chrometrace.log" in the current directory. 791 // omitted the default will be used "chrometrace.log" in the current directory.
788 // Has no effect unless --trace-shutdown is also supplied. 792 // Has no effect unless --trace-shutdown is also supplied.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 const char kEnableNpapi[] = "enable-npapi"; 989 const char kEnableNpapi[] = "enable-npapi";
986 990
987 #if defined(ENABLE_PLUGINS) 991 #if defined(ENABLE_PLUGINS)
988 // Enables the plugin power saver feature. 992 // Enables the plugin power saver feature.
989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 993 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
990 #endif 994 #endif
991 995
992 // Don't dump stuff here, follow the same order as the header. 996 // Don't dump stuff here, follow the same order as the header.
993 997
994 } // namespace switches 998 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698