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

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: Changed as requested 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 <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars, 1002 ENABLE_DISABLE_VALUE_TYPE(cc::switches::kEnablePinchZoomScrollbars,
1003 cc::switches::kDisablePinchZoomScrollbars) 1003 cc::switches::kDisablePinchZoomScrollbars)
1004 }, 1004 },
1005 { 1005 {
1006 "app-list-show-apps-only", 1006 "app-list-show-apps-only",
1007 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME, 1007 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_NAME,
1008 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION, 1008 IDS_FLAGS_ENABLE_APP_LIST_SHOW_APPS_ONLY_DESCRIPTION,
1009 kOsAll, 1009 kOsAll,
1010 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly), 1010 SINGLE_VALUE_TYPE(app_list::switches::kAppListShowAppsOnly),
1011 }, 1011 },
1012 {
1013 "forced-maximize-mode",
1014 IDS_FLAGS_FORCE_MAXIMIZE_MODE_NAME,
1015 IDS_FLAGS_FORCE_MAXIMIZE_MODE_DESCRIPTION,
1016 kOsLinux | kOsWin | kOsCrOS,
1017 SINGLE_VALUE_TYPE(ash::switches::kForcedMaximizeMode),
1018 },
1012 #endif // defined(USE_ASH) 1019 #endif // defined(USE_ASH)
1013 #if defined(OS_CHROMEOS) 1020 #if defined(OS_CHROMEOS)
1014 { 1021 {
1015 "disable-boot-animation", 1022 "disable-boot-animation",
1016 IDS_FLAGS_DISABLE_BOOT_ANIMATION, 1023 IDS_FLAGS_DISABLE_BOOT_ANIMATION,
1017 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION, 1024 IDS_FLAGS_DISABLE_BOOT_ANIMATION_DESCRIPTION,
1018 kOsCrOSOwnerOnly, 1025 kOsCrOSOwnerOnly,
1019 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation), 1026 SINGLE_VALUE_TYPE(switches::kDisableBootAnimation),
1020 }, 1027 },
1021 { 1028 {
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 } 1914 }
1908 1915
1909 const Experiment* GetExperiments(size_t* count) { 1916 const Experiment* GetExperiments(size_t* count) {
1910 *count = num_experiments; 1917 *count = num_experiments;
1911 return experiments; 1918 return experiments;
1912 } 1919 }
1913 1920
1914 } // namespace testing 1921 } // namespace testing
1915 1922
1916 } // namespace about_flags 1923 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698