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

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

Issue 1414643005: Disable zoom bubble for PDF extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Need to check for valid client before early out. 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.h
diff --git a/chrome/browser/extensions/extension_util.h b/chrome/browser/extensions/extension_util.h
index aa8f613d3ecc98891623d21bf27c8d4c3df09315..12808cac400e427f08b61860dc6062c736e4f8e7 100644
--- a/chrome/browser/extensions/extension_util.h
+++ b/chrome/browser/extensions/extension_util.h
@@ -52,6 +52,9 @@ bool CanCrossIncognito(const extensions::Extension* extension,
bool CanLoadInIncognito(const extensions::Extension* extension,
content::BrowserContext* context);
+// Returns true if the |extension| should not trigger a zoom bubble.
+bool ZoomWithoutBubble(const Extension* extension);
+
// Returns true if this extension can inject scripts into pages with file URLs.
bool AllowFileAccess(const std::string& extension_id,
content::BrowserContext* context);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_util.cc » ('j') | chrome/browser/extensions/extension_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698