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

Side by Side Diff: chrome/common/chrome_features.cc

Issue 2695493002: [Mac] Touch Bar support for default browser window state (Closed)
Patch Set: Fix for rsesek 3 Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/chrome_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "extensions/features/features.h" 7 #include "extensions/features/features.h"
8 #include "ppapi/features/features.h" 8 #include "ppapi/features/features.h"
9 9
10 namespace features { 10 namespace features {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Enables or disables whether permission prompts are automatically blocked 57 // Enables or disables whether permission prompts are automatically blocked
58 // after the user has explicitly dismissed them too many times. 58 // after the user has explicitly dismissed them too many times.
59 const base::Feature kBlockPromptsIfDismissedOften{ 59 const base::Feature kBlockPromptsIfDismissedOften{
60 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT}; 60 "BlockPromptsIfDismissedOften", base::FEATURE_DISABLED_BY_DEFAULT};
61 61
62 // Fixes for browser hang bugs are deployed in a field trial in order to measure 62 // Fixes for browser hang bugs are deployed in a field trial in order to measure
63 // their impact. See crbug.com/478209. 63 // their impact. See crbug.com/478209.
64 const base::Feature kBrowserHangFixesExperiment{ 64 const base::Feature kBrowserHangFixesExperiment{
65 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 65 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
66 66
67 #if defined(OS_MACOSX)
68 // Enables or disables the browser's touch bar.
69 const base::Feature kBrowserTouchBar{"BrowserTouchBar",
70 base::FEATURE_ENABLED_BY_DEFAULT};
71 #endif // defined(OS_MACOSX)
72
67 #if defined(OS_ANDROID) 73 #if defined(OS_ANDROID)
68 // Experiment to make Geolocation permissions in the omnibox and the default 74 // Experiment to make Geolocation permissions in the omnibox and the default
69 // search engine's search page consistent. 75 // search engine's search page consistent.
70 const base::Feature kConsistentOmniboxGeolocation{ 76 const base::Feature kConsistentOmniboxGeolocation{
71 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT}; 77 "ConsistentOmniboxGeolocation", base::FEATURE_DISABLED_BY_DEFAULT};
72 #endif 78 #endif
73 79
74 #if defined(OS_WIN) 80 #if defined(OS_WIN)
75 // Enables or disables desktop ios promotion, which shows a promotion to the 81 // Enables or disables desktop ios promotion, which shows a promotion to the
76 // user promoting Chrome for iOS. 82 // user promoting Chrome for iOS.
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 280 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
275 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 281 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
276 base::FEATURE_ENABLED_BY_DEFAULT}; 282 base::FEATURE_ENABLED_BY_DEFAULT};
277 283
278 // Enables or disables flash component updates on Chrome OS. 284 // Enables or disables flash component updates on Chrome OS.
279 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 285 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
280 base::FEATURE_ENABLED_BY_DEFAULT}; 286 base::FEATURE_ENABLED_BY_DEFAULT};
281 #endif // defined(OS_CHROMEOS) 287 #endif // defined(OS_CHROMEOS)
282 288
283 } // namespace features 289 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698