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

Unified Diff: content/public/browser/content_browser_client.h

Issue 8403024: Set extension-related webkit preferences in a common location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index e56f587bcd9d8d23ca8021aee2ebf9024e6e32af..71d21acd239ac6f09c585b2bae19bec66f0cacc7 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -297,7 +297,9 @@ class ContentBrowserClient {
virtual bool IsFastShutdownPossible() = 0;
// Returns the WebKit preferences that are used by the renderer.
- virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context,
+ // TODO(aa): Can is_web_ui be derived from just render_view_host? If so, it
+ // can be removed.
+ virtual WebPreferences GetWebkitPrefs(RenderViewHost* render_view_host,
bool is_web_ui) = 0;
// Inspector setting was changed and should be persisted.
« content/browser/tab_contents/tab_contents.cc ('K') | « content/browser/tab_contents/tab_contents.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698