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

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: Fix copyright notice. Created 6 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 | 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 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 #endif 1331 #endif
1332 #if defined(OS_CHROMEOS) 1332 #if defined(OS_CHROMEOS)
1333 { 1333 {
1334 "enable-virtual-keyboard", 1334 "enable-virtual-keyboard",
1335 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_NAME, 1335 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_NAME,
1336 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_DESCRIPTION, 1336 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_DESCRIPTION,
1337 kOsCrOS, 1337 kOsCrOS,
1338 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard) 1338 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)
1339 }, 1339 },
1340 { 1340 {
1341 "enable-virtual-keyboard-overscroll",
1342 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_OVERSCROLL_NAME,
1343 IDS_FLAGS_ENABLE_VIRTUAL_KEYBOARD_OVERSCROLL_DESCRIPTION,
1344 kOsCrOS,
1345 ENABLE_DISABLE_VALUE_TYPE(
1346 keyboard::switches::kEnableVirtualKeyboardOverscroll,
1347 keyboard::switches::kDisableVirtualKeyboardOverscroll)
1348 },
1349 {
1341 "enable-swipe-selection", 1350 "enable-swipe-selection",
1342 IDS_FLAGS_ENABLE_SWIPE_SELECTION_NAME, 1351 IDS_FLAGS_ENABLE_SWIPE_SELECTION_NAME,
1343 IDS_FLAGS_ENABLE_SWIPE_SELECTION_DESCRIPTION, 1352 IDS_FLAGS_ENABLE_SWIPE_SELECTION_DESCRIPTION,
1344 kOsCrOS, 1353 kOsCrOS,
1345 SINGLE_VALUE_TYPE(keyboard::switches::kEnableSwipeSelection) 1354 SINGLE_VALUE_TYPE(keyboard::switches::kEnableSwipeSelection)
1346 }, 1355 },
1347 #endif 1356 #endif
1348 { 1357 {
1349 "enable-simple-cache-backend", 1358 "enable-simple-cache-backend",
1350 IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_NAME, 1359 IDS_FLAGS_ENABLE_SIMPLE_CACHE_BACKEND_NAME,
(...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 } 2349 }
2341 2350
2342 const Experiment* GetExperiments(size_t* count) { 2351 const Experiment* GetExperiments(size_t* count) {
2343 *count = num_experiments; 2352 *count = num_experiments;
2344 return experiments; 2353 return experiments;
2345 } 2354 }
2346 2355
2347 } // namespace testing 2356 } // namespace testing
2348 2357
2349 } // namespace about_flags 2358 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698