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

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

Issue 1186803003: Mac: Give packaged app windows their own window cycle list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extension || is_browser + cl format Created 5 years, 6 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 1973 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION, 1984 IDS_FLAGS_APP_INFO_DIALOG_DESCRIPTION,
1985 kOsMac, 1985 kOsMac,
1986 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac, 1986 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppInfoDialogMac,
1987 switches::kDisableAppInfoDialogMac)}, 1987 switches::kDisableAppInfoDialogMac)},
1988 {"mac-views-native-app-windows", 1988 {"mac-views-native-app-windows",
1989 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME, 1989 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_NAME,
1990 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION, 1990 IDS_FLAGS_MAC_VIEWS_NATIVE_APP_WINDOWS_DESCRIPTION,
1991 kOsMac, 1991 kOsMac,
1992 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows, 1992 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableMacViewsNativeAppWindows,
1993 switches::kDisableMacViewsNativeAppWindows)}, 1993 switches::kDisableMacViewsNativeAppWindows)},
1994 {"app-window-cycling",
1995 IDS_FLAGS_APP_WINDOW_CYCLING_NAME,
1996 IDS_FLAGS_APP_WINDOW_CYCLING_DESCRIPTION,
1997 kOsMac,
1998 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppWindowCycling,
1999 switches::kDisableAppWindowCycling)},
1994 #endif 2000 #endif
1995 // NOTE: Adding new command-line switches requires adding corresponding 2001 // NOTE: Adding new command-line switches requires adding corresponding
1996 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2002 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1997 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2003 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1998 }; 2004 };
1999 2005
2000 const Experiment* experiments = kExperiments; 2006 const Experiment* experiments = kExperiments;
2001 size_t num_experiments = arraysize(kExperiments); 2007 size_t num_experiments = arraysize(kExperiments);
2002 2008
2003 // Stores and encapsulates the little state that about:flags has. 2009 // Stores and encapsulates the little state that about:flags has.
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 } 2623 }
2618 2624
2619 const Experiment* GetExperiments(size_t* count) { 2625 const Experiment* GetExperiments(size_t* count) {
2620 *count = num_experiments; 2626 *count = num_experiments;
2621 return experiments; 2627 return experiments;
2622 } 2628 }
2623 2629
2624 } // namespace testing 2630 } // namespace testing
2625 2631
2626 } // namespace about_flags 2632 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698