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

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

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed flag usage again 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
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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, 1014 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars,
1015 cc::switches::kDisablePinchZoomScrollbars) 1015 cc::switches::kDisablePinchZoomScrollbars)
1016 }, 1016 },
1017 { 1017 {
1018 "app-list-show-apps-only", 1018 "app-list-show-apps-only",
1019 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, 1019 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME,
1020 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, 1020 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION,
1021 kOsAll, 1021 kOsAll,
1022 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), 1022 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
1023 }, 1023 },
1024 {
1025 "forced-maximize-mode",
1026 IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME,
1027 IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION,
1028 kOsLinux | kOsWin | kOsCrOS,
1029 SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode),
1030 },
1024 #endif // defined(USE_ASH) 1031 #endif // defined(USE_ASH)
1025 #if defined(OS_CHROMEOS) 1032 #if defined(OS_CHROMEOS)
1026 { 1033 {
1027 "disable-boot-animation", 1034 "disable-boot-animation",
1028 IDS_FLAGS_DISABLE_BOOT_ANIMATION, 1035 IDS_FLAGS_DISABLE_BOOT_ANIMATION,
1029 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, 1036 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION,
1030 kOsCrOSOwnerOnly, 1037 kOsCrOSOwnerOnly,
1031 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), 1038 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation),
1032 }, 1039 },
1033 { 1040 {
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 } 1941 }
1935 1942
1936 const Experiment* GetExperiments(size_t* count) { 1943 const Experiment* GetExperiments(size_t* count) {
1937 *count = num_experiments; 1944 *count = num_experiments;
1938 return experiments; 1945 return experiments;
1939 } 1946 }
1940 1947
1941 } // namespace testing 1948 } // namespace testing
1942 1949
1943 } // namespace about_flags 1950 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698