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

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

Issue 7500002: Remove the compact nav flag and ensure it is always disabled. Note that the rest of the cnav code... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/tabs/tab_menu_model.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation) 244 SINGLE_VALUE_TYPE(switches::kDisableInteractiveFormValidation)
245 }, 245 },
246 { 246 {
247 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA 247 "focus-existing-tab-on-open", // FLAGS:RECORD_UMA
248 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME, 248 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_NAME,
249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION, 249 IDS_FLAGS_FOCUS_EXISTING_TAB_ON_OPEN_DESCRIPTION,
250 kOsAll, 250 kOsAll,
251 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen) 251 SINGLE_VALUE_TYPE(switches::kFocusExistingTabOnOpen)
252 }, 252 },
253 { 253 {
254 "compact-navigation",
255 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION,
256 IDS_FLAGS_ENABLE_COMPACT_NAVIGATION_DESCRIPTION,
257 kOsWin, // TODO(stevet): Add other platforms when ready.
258 SINGLE_VALUE_TYPE(switches::kEnableCompactNavigation)
259 },
260 {
261 "new-tab-page-4", 254 "new-tab-page-4",
262 IDS_FLAGS_NEW_TAB_PAGE_4_NAME, 255 IDS_FLAGS_NEW_TAB_PAGE_4_NAME,
263 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION, 256 IDS_FLAGS_NEW_TAB_PAGE_4_DESCRIPTION,
264 kOsAll, 257 kOsAll,
265 SINGLE_VALUE_TYPE(switches::kNewTabPage4) 258 SINGLE_VALUE_TYPE(switches::kNewTabPage4)
266 }, 259 },
267 { 260 {
268 "tab-groups-context-menu", 261 "tab-groups-context-menu",
269 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, 262 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME,
270 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, 263 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION,
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 } 791 }
799 792
800 const Experiment* GetExperiments(size_t* count) { 793 const Experiment* GetExperiments(size_t* count) {
801 *count = num_experiments; 794 *count = num_experiments;
802 return experiments; 795 return experiments;
803 } 796 }
804 797
805 } // namespace testing 798 } // namespace testing
806 799
807 } // namespace about_flags 800 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/tabs/tab_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698