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

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

Issue 14283013: Reland https://chromiumcodereview.appspot.com/14286004 which was reverted fue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1248 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( 1248 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1249 switches::kOverscrollHistoryNavigation, "1", 1249 switches::kOverscrollHistoryNavigation, "1",
1250 switches::kOverscrollHistoryNavigation, "0") 1250 switches::kOverscrollHistoryNavigation, "0")
1251 }, 1251 },
1252 #endif 1252 #endif
1253 { 1253 {
1254 "enable-touch-drag-drop", 1254 "enable-touch-drag-drop",
1255 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME, 1255 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_NAME,
1256 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION, 1256 IDS_FLAGS_ENABLE_TOUCH_DRAG_DROP_DESCRIPTION,
1257 kOsWin | kOsCrOS, 1257 kOsWin | kOsCrOS,
1258 SINGLE_VALUE_TYPE(switches::kEnableTouchDragDrop) 1258 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1259 switches::kDisableTouchDragDrop)
1259 }, 1260 },
1260 { 1261 {
1261 "enable-touch-editing", 1262 "enable-touch-editing",
1262 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME, 1263 IDS_FLAGS_ENABLE_TOUCH_EDITING_NAME,
1263 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION, 1264 IDS_FLAGS_ENABLE_TOUCH_EDITING_DESCRIPTION,
1264 kOsCrOS, 1265 kOsCrOS,
1265 SINGLE_VALUE_TYPE(switches::kEnableTouchEditing) 1266 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchEditing,
1267 switches::kDisableTouchEditing)
1266 }, 1268 },
1267 #if defined(ENABLE_MESSAGE_CENTER) 1269 #if defined(ENABLE_MESSAGE_CENTER)
1268 { 1270 {
1269 "enable-rich-notifications", 1271 "enable-rich-notifications",
1270 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_NAME, 1272 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_NAME,
1271 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_DESCRIPTION, 1273 IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_DESCRIPTION,
1272 kOsWin | kOsCrOS, 1274 kOsWin | kOsCrOS,
1273 ENABLE_DISABLE_VALUE_TYPE( 1275 ENABLE_DISABLE_VALUE_TYPE(
1274 message_center::switches::kEnableRichNotifications, 1276 message_center::switches::kEnableRichNotifications,
1275 message_center::switches::kDisableRichNotifications) 1277 message_center::switches::kDisableRichNotifications)
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1900 } 1902 }
1901 1903
1902 const Experiment* GetExperiments(size_t* count) { 1904 const Experiment* GetExperiments(size_t* count) {
1903 *count = num_experiments; 1905 *count = num_experiments;
1904 return experiments; 1906 return experiments;
1905 } 1907 }
1906 1908
1907 } // namespace testing 1909 } // namespace testing
1908 1910
1909 } // namespace about_flags 1911 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/chrome_restart_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698