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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 195793004: Implement overscroll support for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer feedback. Created 6 years, 8 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 | Annotate | Revision Log
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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 #endif 1280 #endif
1281 #if defined(OS_CHROMEOS) 1281 #if defined(OS_CHROMEOS)
1282 { 1282 {
1283 "enable-virtual-keyboard", 1283 "enable-virtual-keyboard",
1284 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_NAME, 1284 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_NAME,
1285 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_DESCRIPTION, 1285 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_DESCRIPTION,
1286 kOsCrOS, 1286 kOsCrOS,
1287 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard) 1287 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)
1288 }, 1288 },
1289 { 1289 {
1290 "enable-virtual-keyboard-overscroll",
1291 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_OVERSCROLL_NAME,
1292 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_OVERSCROLL_DESCRIPTION,
1293 kOsCrOS,
1294 ENABLE_DISABLE_VALUE_TYPE(
1295 keyboard::switches::kEnableVirtualKeyboardOverscroll,
1296 keyboard::switches::kDisableVirtualKeyboardOverscroll)
1297 },
1298 {
1290 "enable-swipe-selection", 1299 "enable-swipe-selection",
1291 IDS_FLAGS_ENABLE_SWIPE_SELECTION_NAME, 1300 IDS_FLAGS_ENABLE_SWIPE_SELECTION_NAME,
1292 IDS_FLAGS_ENABLE_SWIPE_SELECTION_DESCRIPTION, 1301 IDS_FLAGS_ENABLE_SWIPE_SELECTION_DESCRIPTION,
1293 kOsCrOS, 1302 kOsCrOS,
1294 SINGLE_VALUE_TYPE(keyboard::switches::kEnableSwipeSelection) 1303 SINGLE_VALUE_TYPE(keyboard::switches::kEnableSwipeSelection)
1295 }, 1304 },
1296 { 1305 {
1297 "enable-input-view", 1306 "enable-input-view",
1298 IDS_FLAGS_ENABLE_INPUT_VIEW_NAME, 1307 IDS_FLAGS_ENABLE_INPUT_VIEW_NAME,
1299 IDS_FLAGS_ENABLE_INPUT_VIEW_DESCRIPTION, 1308 IDS_FLAGS_ENABLE_INPUT_VIEW_DESCRIPTION,
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
2313 } 2322 }
2314 2323
2315 const Experiment* GetExperiments(size_t* count) { 2324 const Experiment* GetExperiments(size_t* count) {
2316 *count = num_experiments; 2325 *count = num_experiments;
2317 return experiments; 2326 return experiments;
2318 } 2327 }
2319 2328
2320 } // namespace testing 2329 } // namespace testing
2321 2330
2322 } // namespace about_flags 2331 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698