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

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

Issue 1252503007: Added flag simplified-fullscreen-ui. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added link to discussion bug 515747. Created 5 years, 4 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
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 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 SINGLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters) 2070 SINGLE_VALUE_TYPE(switches::kEnableClearBrowsingDataCounters)
2071 }, 2071 },
2072 #if defined(ENABLE_TASK_MANAGER) 2072 #if defined(ENABLE_TASK_MANAGER)
2073 {"enable-new-task-manager", 2073 {"enable-new-task-manager",
2074 IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_NAME, 2074 IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_NAME,
2075 IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_DESCRIPTION, 2075 IDS_FLAGS_ENABLE_NEW_TASK_MANAGER_DESCRIPTION,
2076 kOsDesktop, 2076 kOsDesktop,
2077 SINGLE_VALUE_TYPE(switches::kEnableNewTaskManager) 2077 SINGLE_VALUE_TYPE(switches::kEnableNewTaskManager)
2078 }, 2078 },
2079 #endif // defined(ENABLE_TASK_MANAGER) 2079 #endif // defined(ENABLE_TASK_MANAGER)
2080 {"simplified-fullscreen-ui",
2081 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_NAME,
2082 IDS_FLAGS_SIMPLIFIED_FULLSCREEN_UI_DESCRIPTION,
2083 kOsDesktop,
2084 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSimplifiedFullscreenUI,
2085 switches::kDisableSimplifiedFullscreenUI)
2086 },
2080 // NOTE: Adding new command-line switches requires adding corresponding 2087 // NOTE: Adding new command-line switches requires adding corresponding
2081 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2088 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2082 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2089 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2083 }; 2090 };
2084 2091
2085 const Experiment* experiments = kExperiments; 2092 const Experiment* experiments = kExperiments;
2086 size_t num_experiments = arraysize(kExperiments); 2093 size_t num_experiments = arraysize(kExperiments);
2087 2094
2088 // Stores and encapsulates the little state that about:flags has. 2095 // Stores and encapsulates the little state that about:flags has.
2089 class FlagsState { 2096 class FlagsState {
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
2712 } 2719 }
2713 2720
2714 const Experiment* GetExperiments(size_t* count) { 2721 const Experiment* GetExperiments(size_t* count) {
2715 *count = num_experiments; 2722 *count = num_experiments;
2716 return experiments; 2723 return experiments;
2717 } 2724 }
2718 2725
2719 } // namespace testing 2726 } // namespace testing
2720 2727
2721 } // namespace about_flags 2728 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/exclusive_access/exclusive_access_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698