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

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: use ScrollBegin instead of ScrollUpdate as the indication of stop sending touch move & rebase 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 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 { 1287 {
1288 "enable-touch-side-bezels", 1288 "enable-touch-side-bezels",
1289 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME, 1289 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_NAME,
1290 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION, 1290 IDS_FLAGS_ENABLE_TOUCH_SIDE_BEZELS_DESCRIPTION,
1291 kOsCrOS, 1291 kOsCrOS,
1292 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( 1292 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1293 switches::kTouchSideBezels, "1", 1293 switches::kTouchSideBezels, "1",
1294 switches::kTouchSideBezels, "0") 1294 switches::kTouchSideBezels, "0")
1295 }, 1295 },
1296 { 1296 {
1297 "enable-no-touch-to-renderer-while-scrolling",
1298 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_NAME,
1299 IDS_FLAGS_ENABLE_NO_TOUCH_TO_RENDERER_WHILE_SCROLLING_DESCRIPTION,
1300 kOsDesktop,
1301 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1302 switches::kNoTouchToRendererWhileScrolling, "1",
1303 switches::kNoTouchToRendererWhileScrolling, "0")
1304 },
1305 {
1297 "enable-touch-drag-drop", 1306 "enable-touch-drag-drop",
1298 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, 1307 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME,
1299 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, 1308 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION,
1300 kOsWin | kOsCrOS, 1309 kOsWin | kOsCrOS,
1301 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop, 1310 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1302 switches::kDisableTouchDragDrop) 1311 switches::kDisableTouchDragDrop)
1303 }, 1312 },
1304 { 1313 {
1305 "enable-touch-editing", 1314 "enable-touch-editing",
1306 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, 1315 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 } 2112 }
2104 2113
2105 const Experiment* GetExperiments(size_t* count) { 2114 const Experiment* GetExperiments(size_t* count) {
2106 *count = num_experiments; 2115 *count = num_experiments;
2107 return experiments; 2116 return experiments;
2108 } 2117 }
2109 2118
2110 } // namespace testing 2119 } // namespace testing
2111 2120
2112 } // namespace about_flags 2121 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698