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

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

Issue 903143003: wip: Touch Text Selection Prototypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@selection_granularity_on_unified
Patch Set: Created 5 years, 10 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') | ui/touch_selection/selection_granularity.h » ('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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 741 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
742 742
743 // Type of the current test harness ("browser" or "ui"). 743 // Type of the current test harness ("browser" or "ui").
744 const char kTestType[] = "test-type"; 744 const char kTestType[] = "test-type";
745 745
746 const char kTouchScrollingMode[] = "touch-scrolling-mode"; 746 const char kTouchScrollingMode[] = "touch-scrolling-mode";
747 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; 747 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove";
748 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; 748 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove";
749 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; 749 const char kTouchScrollingModeTouchcancel[] = "touchcancel";
750 750
751 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy";
752 const char kTouchTextSelectionHalfDecay[] = "touch-selection-half-decay";
753 const char kTouchTextSelectionThreshold[] = "touch-selection-threshold";
754
755
751 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 756 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
752 // can specify the specific trace categories to include (e.g. 757 // can specify the specific trace categories to include (e.g.
753 // --trace-shutdown=base,net) otherwise, all events are recorded. 758 // --trace-shutdown=base,net) otherwise, all events are recorded.
754 // --trace-shutdown-file can be used to control where the trace log gets stored 759 // --trace-shutdown-file can be used to control where the trace log gets stored
755 // to since there is otherwise no way to access the result. 760 // to since there is otherwise no way to access the result.
756 const char kTraceShutdown[] = "trace-shutdown"; 761 const char kTraceShutdown[] = "trace-shutdown";
757 762
758 // If supplied, sets the file which shutdown tracing will be stored into, if 763 // If supplied, sets the file which shutdown tracing will be stored into, if
759 // omitted the default will be used "chrometrace.log" in the current directory. 764 // omitted the default will be used "chrometrace.log" in the current directory.
760 // Has no effect unless --trace-shutdown is also supplied. 765 // Has no effect unless --trace-shutdown is also supplied.
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 973 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
969 return false; 974 return false;
970 // Default. 975 // Default.
971 return group_name == "Enabled"; 976 return group_name == "Enabled";
972 } 977 }
973 #endif 978 #endif
974 979
975 // Don't dump stuff here, follow the same order as the header. 980 // Don't dump stuff here, follow the same order as the header.
976 981
977 } // namespace switches 982 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | ui/touch_selection/selection_granularity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698