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

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 1414643005: Disable zoom bubble for PDF extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add deps file Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 23049ebc165e6448e5413bc9b5959b1d086e3039..9696561e0aeb58c34f8e312e7175ef498068c944 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -198,13 +198,6 @@ bool CanLoadInIncognito(const Extension* extension,
IsIncognitoEnabled(extension->id(), context);
}
-bool AllowZoomWithoutBubble(const Extension* extension) {
- return FeatureProvider::GetBehaviorFeature(
- BehaviorFeature::kZoomWithoutBubble)
- ->IsAvailableToExtension(extension)
- .is_available();
-}
-
bool AllowFileAccess(const std::string& extension_id,
content::BrowserContext* context) {
return base::CommandLine::ForCurrentProcess()->HasSwitch(

Powered by Google App Engine
This is Rietveld 408576698