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

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

Issue 1434123002: Enable theme-color on Chrome tabbed mode for phones by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2012 matching lines...) Expand 10 before | Expand all | Expand 10 after
2023 switches::kDisableSimplifiedFullscreenUI) 2023 switches::kDisableSimplifiedFullscreenUI)
2024 }, 2024 },
2025 #if defined(OS_ANDROID) 2025 #if defined(OS_ANDROID)
2026 {"progress-bar-animation", 2026 {"progress-bar-animation",
2027 IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, 2027 IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME,
2028 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, 2028 IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION,
2029 kOsAndroid, 2029 kOsAndroid,
2030 MULTI_VALUE_TYPE(kProgressBarAnimationChoices)}, 2030 MULTI_VALUE_TYPE(kProgressBarAnimationChoices)},
2031 #endif // defined(OS_ANDROID) 2031 #endif // defined(OS_ANDROID)
2032 #if defined(OS_ANDROID) 2032 #if defined(OS_ANDROID)
2033 {"enable-theme-color-in-tabbed-mode",
2034 IDS_FLAGS_THEME_COLOR_IN_TABBED_MODE_NAME,
2035 IDS_FLAGS_THEME_COLOR_IN_TABBED_MODE_DESCRIPTION,
2036 kOsAndroid,
2037 SINGLE_VALUE_TYPE(switches::kEnableThemeColorInTabbedMode)
2038 },
2039 #endif // defined(OS_ANDROID)
2040 #if defined(OS_ANDROID)
2041 {"offline-pages", 2033 {"offline-pages",
2042 IDS_FLAGS_OFFLINE_PAGES_NAME, 2034 IDS_FLAGS_OFFLINE_PAGES_NAME,
2043 IDS_FLAGS_OFFLINE_PAGES_DESCRIPTION, 2035 IDS_FLAGS_OFFLINE_PAGES_DESCRIPTION,
2044 kOsAndroid, 2036 kOsAndroid,
2045 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflinePages, 2037 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflinePages,
2046 switches::kDisableOfflinePages)}, 2038 switches::kDisableOfflinePages)},
2047 #endif // defined(OS_ANDROID) 2039 #endif // defined(OS_ANDROID)
2048 {"low-priority-iframes", 2040 {"low-priority-iframes",
2049 IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_NAME, 2041 IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_NAME,
2050 IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_DESCRIPTION, 2042 IDS_FLAGS_LOW_PRIORITY_IFRAMES_UI_DESCRIPTION,
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
2973 FlagsState::GetInstance()->SetFeatureEntries(entries, count); 2965 FlagsState::GetInstance()->SetFeatureEntries(entries, count);
2974 } 2966 }
2975 2967
2976 const FeatureEntry* GetFeatureEntries(size_t* count) { 2968 const FeatureEntry* GetFeatureEntries(size_t* count) {
2977 return FlagsState::GetInstance()->GetFeatureEntries(count); 2969 return FlagsState::GetInstance()->GetFeatureEntries(count);
2978 } 2970 }
2979 2971
2980 } // namespace testing 2972 } // namespace testing
2981 2973
2982 } // namespace about_flags 2974 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698