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

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

Issue 2644573003: Initial version of the split CBD dialog (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1996 switches::kDisableFullscreenTabDetaching)}, 1996 switches::kDisableFullscreenTabDetaching)},
1997 {"enable-fullscreen-toolbar-reveal", 1997 {"enable-fullscreen-toolbar-reveal",
1998 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_NAME, 1998 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_NAME,
1999 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_DESCRIPTION, kOsMac, 1999 IDS_FLAGS_FULLSCREEN_TOOLBAR_REVEAL_DESCRIPTION, kOsMac,
2000 SINGLE_VALUE_TYPE(switches::kEnableFullscreenToolbarReveal)}, 2000 SINGLE_VALUE_TYPE(switches::kEnableFullscreenToolbarReveal)},
2001 #endif // OS_MACOSX 2001 #endif // OS_MACOSX
2002 #if defined(OS_ANDROID) 2002 #if defined(OS_ANDROID)
2003 {"important-sites-in-cbd", IDS_FLAGS_IMPORTANT_SITES_IN_CBD_NAME, 2003 {"important-sites-in-cbd", IDS_FLAGS_IMPORTANT_SITES_IN_CBD_NAME,
2004 IDS_FLAGS_IMPORTANT_SITES_IN_CBD_DESCRIPTION, kOsAndroid, 2004 IDS_FLAGS_IMPORTANT_SITES_IN_CBD_DESCRIPTION, kOsAndroid,
2005 FEATURE_VALUE_TYPE(chrome::android::kImportantSitesInCBD)}, 2005 FEATURE_VALUE_TYPE(chrome::android::kImportantSitesInCBD)},
2006 {"tabs-in-cbd", IDS_FLAGS_TABS_IN_CBD_NAME,
2007 IDS_FLAGS_TABS_IN_CBD_DESCRIPTION, kOsAndroid,
2008 FEATURE_VALUE_TYPE(chrome::android::kTabsInCBD)},
2006 #endif // OS_ANDROID 2009 #endif // OS_ANDROID
2007 {"enable-pointer-events", IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_NAME, 2010 {"enable-pointer-events", IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_NAME,
2008 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_DESCRIPTION, kOsAll, 2011 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_DESCRIPTION, kOsAll,
2009 FEATURE_VALUE_TYPE(features::kPointerEvents)}, 2012 FEATURE_VALUE_TYPE(features::kPointerEvents)},
2010 {"passive-listener-default", IDS_FLAGS_PASSIVE_EVENT_LISTENER_DEFAULT_NAME, 2013 {"passive-listener-default", IDS_FLAGS_PASSIVE_EVENT_LISTENER_DEFAULT_NAME,
2011 IDS_FLAGS_PASSIVE_EVENT_LISTENER_DEFAULT_DESCRIPTION, kOsAll, 2014 IDS_FLAGS_PASSIVE_EVENT_LISTENER_DEFAULT_DESCRIPTION, kOsAll,
2012 MULTI_VALUE_TYPE(kPassiveListenersChoices)}, 2015 MULTI_VALUE_TYPE(kPassiveListenersChoices)},
2013 {"document-passive-event-listeners", 2016 {"document-passive-event-listeners",
2014 IDS_FLAGS_PASSIVE_DOCUMENT_EVENT_LISTENERS_NAME, 2017 IDS_FLAGS_PASSIVE_DOCUMENT_EVENT_LISTENERS_NAME,
2015 IDS_FLAGS_PASSIVE_DOCUMENT_EVENT_LISTENERS_DESCRIPTION, kOsAll, 2018 IDS_FLAGS_PASSIVE_DOCUMENT_EVENT_LISTENERS_DESCRIPTION, kOsAll,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
2412 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2415 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2413 2416
2414 const FeatureEntry* GetFeatureEntries(size_t* count) { 2417 const FeatureEntry* GetFeatureEntries(size_t* count) {
2415 *count = arraysize(kFeatureEntries); 2418 *count = arraysize(kFeatureEntries);
2416 return kFeatureEntries; 2419 return kFeatureEntries;
2417 } 2420 }
2418 2421
2419 } // namespace testing 2422 } // namespace testing
2420 2423
2421 } // namespace about_flags 2424 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698