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

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

Issue 111723012: Linux Aura: Added --use-system-title-bar flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 11 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 1965 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 kOsDesktop, 1976 kOsDesktop,
1977 SINGLE_VALUE_TYPE(switches::kEmbedFlashFullscreen) 1977 SINGLE_VALUE_TYPE(switches::kEmbedFlashFullscreen)
1978 }, 1978 },
1979 #if defined(USE_ASH) && defined(OS_CHROMEOS) 1979 #if defined(USE_ASH) && defined(OS_CHROMEOS)
1980 { 1980 {
1981 "enable-system-sounds", 1981 "enable-system-sounds",
1982 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_NAME, 1982 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_NAME,
1983 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_DESCRIPTION, 1983 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_DESCRIPTION,
1984 kOsCrOS, 1984 kOsCrOS,
1985 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSystemSounds) 1985 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSystemSounds)
1986 } 1986 },
1987 #endif
1988 #if defined(USE_AURA)
1989 {
1990 "use-system-title-bar",
1991 IDS_FLAGS_USE_SYSTEM_TITLE_BAR,
1992 IDS_FLAGS_USE_SYSTEM_TITLE_BAR_DESCRIPTION,
1993 kOsLinux,
1994 SINGLE_VALUE_TYPE(switches::kUseSystemTitleBar)
1995 },
1987 #endif 1996 #endif
1988 }; 1997 };
1989 1998
1990 const Experiment* experiments = kExperiments; 1999 const Experiment* experiments = kExperiments;
1991 size_t num_experiments = arraysize(kExperiments); 2000 size_t num_experiments = arraysize(kExperiments);
1992 2001
1993 // Stores and encapsulates the little state that about:flags has. 2002 // Stores and encapsulates the little state that about:flags has.
1994 class FlagsState { 2003 class FlagsState {
1995 public: 2004 public:
1996 FlagsState() : needs_restart_(false) {} 2005 FlagsState() : needs_restart_(false) {}
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 } 2498 }
2490 2499
2491 const Experiment* GetExperiments(size_t* count) { 2500 const Experiment* GetExperiments(size_t* count) {
2492 *count = num_experiments; 2501 *count = num_experiments;
2493 return experiments; 2502 return experiments;
2494 } 2503 }
2495 2504
2496 } // namespace testing 2505 } // namespace testing
2497 2506
2498 } // namespace about_flags 2507 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698