Chromium Code Reviews| Index: chrome/browser/extensions/extension_util.cc |
| diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc |
| index 9696561e0aeb58c34f8e312e7175ef498068c944..a9ecb42aa12403ec6e96e4ddc517f220806c9675 100644 |
| --- a/chrome/browser/extensions/extension_util.cc |
| +++ b/chrome/browser/extensions/extension_util.cc |
| @@ -198,6 +198,13 @@ bool CanLoadInIncognito(const Extension* extension, |
| IsIncognitoEnabled(extension->id(), context); |
| } |
| +bool ZoomWithoutBubble(const Extension* extension) { |
|
Ken Rockot(use gerrit already)
2015/10/21 16:53:30
nit: How about "CanZoomWithoutBubble" or "AllowZoo
wjmaclean
2015/10/21 16:59:46
Done.
I like "AllowZoomWithoutBubble()" ... let's
|
| + return FeatureProvider::GetBehaviorFeature( |
| + BehaviorFeature::kZoomWithoutBubble) |
| + ->IsAvailableToExtension(extension) |
| + .is_available(); |
| +} |
| + |
| bool AllowFileAccess(const std::string& extension_id, |
| content::BrowserContext* context) { |
| return base::CommandLine::ForCurrentProcess()->HasSwitch( |