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

Unified Diff: extensions/renderer/dispatcher.h

Issue 400343002: Add default fonts for extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address kalman's comments Created 6 years, 5 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
« no previous file with comments | « no previous file | extensions/renderer/dispatcher.cc » ('j') | extensions/renderer/dispatcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index e92463f9c762b9fbdf07481a317dee65a0966fc3..d17d158dbb9eb7f121d00706ba52ff50d93ad264 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -212,7 +212,10 @@ class Dispatcher : public content::RenderProcessObserver,
void PopulateSourceMap();
// Returns whether the current renderer hosts a platform app.
- bool IsWithinPlatformApp();
+ bool IsWithinPlatformApp(blink::WebFrame* frame);
+
+ // Returns whether the current renderer hosts an extension.
+ bool IsWithinExtension(blink::WebFrame* frame);
bool IsSandboxedPage(const GURL& url) const;
« no previous file with comments | « no previous file | extensions/renderer/dispatcher.cc » ('j') | extensions/renderer/dispatcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698