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

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

Issue 14222010: Add a maximizing logic flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 8 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/window_sizer/window_sizer_ash.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) 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 }, 706 },
707 { 707 {
708 "enable-managed-users", 708 "enable-managed-users",
709 IDS_FLAGS_ENABLE_LOCALLY_MANAGED_USERS_NAME, 709 IDS_FLAGS_ENABLE_LOCALLY_MANAGED_USERS_NAME,
710 IDS_FLAGS_ENABLE_LOCALLY_MANAGED_USERS_DESCRIPTION, 710 IDS_FLAGS_ENABLE_LOCALLY_MANAGED_USERS_DESCRIPTION,
711 kOsAll, 711 kOsAll,
712 SINGLE_VALUE_TYPE(switches::kEnableManagedUsers) 712 SINGLE_VALUE_TYPE(switches::kEnableManagedUsers)
713 }, 713 },
714 #if defined(USE_ASH) 714 #if defined(USE_ASH)
715 { 715 {
716 "ash-disable-auto-maximizing",
717 IDS_FLAGS_ASH_AUTO_MAXIMIZING_NAME,
718 IDS_FLAGS_ASH_AUTO_MAXIMIZING_DESCRIPTION,
719 kOsWin | kOsLinux | kOsCrOS,
720 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoMaximizing)
721 },
722 {
716 "ash-disable-auto-window-placement", 723 "ash-disable-auto-window-placement",
717 IDS_FLAGS_ASH_AUTO_WINDOW_PLACEMENT_NAME, 724 IDS_FLAGS_ASH_AUTO_WINDOW_PLACEMENT_NAME,
718 IDS_FLAGS_ASH_AUTO_WINDOW_PLACEMENT_DESCRIPTION, 725 IDS_FLAGS_ASH_AUTO_WINDOW_PLACEMENT_DESCRIPTION,
719 kOsWin | kOsLinux | kOsCrOS, 726 kOsWin | kOsLinux | kOsCrOS,
720 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoWindowPlacement) 727 SINGLE_VALUE_TYPE(ash::switches::kAshDisableAutoWindowPlacement)
721 }, 728 },
722 { 729 {
723 "ash-disable-per-app-launcher", 730 "ash-disable-per-app-launcher",
724 IDS_FLAGS_ASH_DISABLE_PER_APP_LAUNCHER_NAME, 731 IDS_FLAGS_ASH_DISABLE_PER_APP_LAUNCHER_NAME,
725 IDS_FLAGS_ASH_DISABLE_PER_APP_LAUNCHER_DESCRIPTION, 732 IDS_FLAGS_ASH_DISABLE_PER_APP_LAUNCHER_DESCRIPTION,
(...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 } 1834 }
1828 1835
1829 const Experiment* GetExperiments(size_t* count) { 1836 const Experiment* GetExperiments(size_t* count) {
1830 *count = num_experiments; 1837 *count = num_experiments;
1831 return experiments; 1838 return experiments;
1832 } 1839 }
1833 1840
1834 } // namespace testing 1841 } // namespace testing
1835 1842
1836 } // namespace about_flags 1843 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/window_sizer/window_sizer_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698