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

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

Issue 2636093002: Add a feature for Location Settings Dialog. (Closed)
Patch Set: Update comment. 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
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('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 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #endif 100 #endif
101 101
102 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) 102 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS)
103 // Enables showing the "This computer will no longer receive Google Chrome 103 // Enables showing the "This computer will no longer receive Google Chrome
104 // updates" infobar instead of the "will soon stop receiving" infobar on 104 // updates" infobar instead of the "will soon stop receiving" infobar on
105 // deprecated systems. 105 // deprecated systems.
106 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ 106 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{
107 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; 107 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT};
108 #endif 108 #endif
109 109
110 // Enables or disables the Location Settings Dialog (LSD). The LSD is an Android
111 // system-level geolocation permission prompt.
112 const base::Feature kLsdPermissionPrompt{"LsdPermissionPrompt",
113 base::FEATURE_DISABLED_BY_DEFAULT};
114
110 // Enables or disables the Material Design version of chrome://bookmarks. 115 // Enables or disables the Material Design version of chrome://bookmarks.
111 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks", 116 const base::Feature kMaterialDesignBookmarks{"MaterialDesignBookmarks",
112 base::FEATURE_DISABLED_BY_DEFAULT}; 117 base::FEATURE_DISABLED_BY_DEFAULT};
113 118
114 #if BUILDFLAG(ENABLE_EXTENSIONS) 119 #if BUILDFLAG(ENABLE_EXTENSIONS)
115 // Enabled or disabled the Material Design version of chrome://extensions. 120 // Enabled or disabled the Material Design version of chrome://extensions.
116 const base::Feature kMaterialDesignExtensions{ 121 const base::Feature kMaterialDesignExtensions{
117 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT}; 122 "MaterialDesignExtensions", base::FEATURE_DISABLED_BY_DEFAULT};
118 #endif 123 #endif
119 124
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. 239 // Enables or disables emoji, handwriting and voice input on opt-in IME menu.
235 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", 240 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput",
236 base::FEATURE_ENABLED_BY_DEFAULT}; 241 base::FEATURE_ENABLED_BY_DEFAULT};
237 242
238 // Enables or disables flash component updates on Chrome OS. 243 // Enables or disables flash component updates on Chrome OS.
239 const base::Feature kCrosCompUpdates{"CrosCompUpdates", 244 const base::Feature kCrosCompUpdates{"CrosCompUpdates",
240 base::FEATURE_DISABLED_BY_DEFAULT}; 245 base::FEATURE_DISABLED_BY_DEFAULT};
241 #endif // defined(OS_CHROMEOS) 246 #endif // defined(OS_CHROMEOS)
242 247
243 } // namespace features 248 } // namespace features
OLDNEW
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698