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

Side by Side Diff: chrome/browser/about_flags.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: tests added 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 { 1290 {
1291 "enable-touch-side-bezels", 1291 "enable-touch-side-bezels",
1292 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME, 1292 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME,
1293 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION, 1293 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION,
1294 kOsCrOS, 1294 kOsCrOS,
1295 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( 1295 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1296 switches::kTouchSideBezels, "1", 1296 switches::kTouchSideBezels, "1",
1297 switches::kTouchSideBezels, "0") 1297 switches::kTouchSideBezels, "0")
1298 }, 1298 },
1299 { 1299 {
1300 "enable-no-touch-to-renderer-while-scrolling",
1301 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_NAME,
1302 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_DESCRIPTION,
1303 kOsDesktop,
1304 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1305 switches::kNoTouchToRendererWhileScrolling, "1",
1306 switches::kNoTouchToRendererWhileScrolling, "0")
1307 },
1308 {
1300 "enable-touch-drag-drop", 1309 "enable-touch-drag-drop",
1301 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, 1310 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME,
1302 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, 1311 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION,
1303 kOsWin | kOsCrOS, 1312 kOsWin | kOsCrOS,
1304 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, 1313 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1305 switches::kDisableTouchDragDrop) 1314 switches::kDisableTouchDragDrop)
1306 }, 1315 },
1307 { 1316 {
1308 "enable-touch-editing", 1317 "enable-touch-editing",
1309 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, 1318 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 } 2115 }
2107 2116
2108 const Experiment* GetExperiments(size_t* count) { 2117 const Experiment* GetExperiments(size_t* count) {
2109 *count = num_experiments; 2118 *count = num_experiments;
2110 return experiments; 2119 return experiments;
2111 } 2120 }
2112 2121
2113 } // namespace testing 2122 } // namespace testing
2114 2123
2115 } // namespace about_flags 2124 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698