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

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

Issue 2617733002: Hide docked windows behind a flag (Closed)
Patch Set: No longer WIP + added a new test. Created 3 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
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 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts), 1016 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
1017 }, 1017 },
1018 { 1018 {
1019 "ash-disable-maximize-mode-window-backdrop", 1019 "ash-disable-maximize-mode-window-backdrop",
1020 IDS_FLAGS_ASH_MAXIMIZE_MODE_WINDOW_BACKDROP_NAME, 1020 IDS_FLAGS_ASH_MAXIMIZE_MODE_WINDOW_BACKDROP_NAME,
1021 IDS_FLAGS_ASH_MAXIMIZE_MODE_WINDOW_BACKDROP_DESCRIPTION, kOsCrOS, 1021 IDS_FLAGS_ASH_MAXIMIZE_MODE_WINDOW_BACKDROP_DESCRIPTION, kOsCrOS,
1022 SINGLE_DISABLE_VALUE_TYPE( 1022 SINGLE_DISABLE_VALUE_TYPE(
1023 ash::switches::kAshDisableMaximizeModeWindowBackdrop), 1023 ash::switches::kAshDisableMaximizeModeWindowBackdrop),
1024 }, 1024 },
1025 { 1025 {
1026 "ash-enable-docked-windows",
1027 IDS_FLAGS_ASH_ENABLE_DOCKED_WINDOWS_NAME,
1028 IDS_FLAGS_ASH_ENABLE_DOCKED_WINDOWS_DESCRIPTION, kOsAll,
1029 SINGLE_VALUE_TYPE(ash::switches::kAshEnableDockedWindows),
1030 },
1031 {
1026 "ash-enable-touch-view-testing", 1032 "ash-enable-touch-view-testing",
1027 IDS_FLAGS_ASH_ENABLE_TOUCH_VIEW_TESTING_NAME, 1033 IDS_FLAGS_ASH_ENABLE_TOUCH_VIEW_TESTING_NAME,
1028 IDS_FLAGS_ASH_ENABLE_TOUCH_VIEW_TESTING_DESCRIPTION, kOsCrOS, 1034 IDS_FLAGS_ASH_ENABLE_TOUCH_VIEW_TESTING_DESCRIPTION, kOsCrOS,
1029 SINGLE_VALUE_TYPE(ash::switches::kAshEnableTouchViewTesting), 1035 SINGLE_VALUE_TYPE(ash::switches::kAshEnableTouchViewTesting),
1030 }, 1036 },
1031 { 1037 {
1032 "ash-enable-mirrored-screen", IDS_FLAGS_ASH_ENABLE_MIRRORED_SCREEN_NAME, 1038 "ash-enable-mirrored-screen", IDS_FLAGS_ASH_ENABLE_MIRRORED_SCREEN_NAME,
1033 IDS_FLAGS_ASH_ENABLE_MIRRORED_SCREEN_DESCRIPTION, kOsCrOS, 1039 IDS_FLAGS_ASH_ENABLE_MIRRORED_SCREEN_DESCRIPTION, kOsCrOS,
1034 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMirroredScreen), 1040 SINGLE_VALUE_TYPE(ash::switches::kAshEnableMirroredScreen),
1035 }, 1041 },
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
2383 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2389 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2384 2390
2385 const FeatureEntry* GetFeatureEntries(size_t* count) { 2391 const FeatureEntry* GetFeatureEntries(size_t* count) {
2386 *count = arraysize(kFeatureEntries); 2392 *count = arraysize(kFeatureEntries);
2387 return kFeatureEntries; 2393 return kFeatureEntries;
2388 } 2394 }
2389 2395
2390 } // namespace testing 2396 } // namespace testing
2391 2397
2392 } // namespace about_flags 2398 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698