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

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

Issue 139303014: Revert 245433 "Linux Aura: Added --use-system-title-bar flag." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after
1971 kOsDesktop, 1971 kOsDesktop,
1972 SINGLE_VALUE_TYPE(switches::kEmbedFlashFullscreen) 1972 SINGLE_VALUE_TYPE(switches::kEmbedFlashFullscreen)
1973 }, 1973 },
1974 #if defined(USE_ASH) && defined(OS_CHROMEOS) 1974 #if defined(USE_ASH) && defined(OS_CHROMEOS)
1975 { 1975 {
1976 "enable-system-sounds", 1976 "enable-system-sounds",
1977 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_NAME, 1977 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_NAME,
1978 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_DESCRIPTION, 1978 IDS_FLAGS_ENABLE_SYSTEM_SOUNDS_DESCRIPTION,
1979 kOsCrOS, 1979 kOsCrOS,
1980 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSystemSounds) 1980 SINGLE_VALUE_TYPE(ash::switches::kAshEnableSystemSounds)
1981 }, 1981 }
1982 #endif
1983 #if defined(USE_AURA)
1984 {
1985 "use-system-title-bar",
1986 IDS_FLAGS_USE_SYSTEM_TITLE_BAR,
1987 IDS_FLAGS_USE_SYSTEM_TITLE_BAR_DESCRIPTION,
1988 kOsLinux,
1989 SINGLE_VALUE_TYPE(switches::kUseSystemTitleBar)
1990 },
1991 #endif 1982 #endif
1992 }; 1983 };
1993 1984
1994 const Experiment* experiments = kExperiments; 1985 const Experiment* experiments = kExperiments;
1995 size_t num_experiments = arraysize(kExperiments); 1986 size_t num_experiments = arraysize(kExperiments);
1996 1987
1997 // Stores and encapsulates the little state that about:flags has. 1988 // Stores and encapsulates the little state that about:flags has.
1998 class FlagsState { 1989 class FlagsState {
1999 public: 1990 public:
2000 FlagsState() : needs_restart_(false) {} 1991 FlagsState() : needs_restart_(false) {}
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
2493 } 2484 }
2494 2485
2495 const Experiment* GetExperiments(size_t* count) { 2486 const Experiment* GetExperiments(size_t* count) {
2496 *count = num_experiments; 2487 *count = num_experiments;
2497 return experiments; 2488 return experiments;
2498 } 2489 }
2499 2490
2500 } // namespace testing 2491 } // namespace testing
2501 2492
2502 } // namespace about_flags 2493 } // namespace about_flags
OLDNEW
« no previous file with comments | « trunk/src/chrome/app/generated_resources.grd ('k') | trunk/src/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