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

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

Issue 429413003: Revert of Cache the current WebPreferences on RenderViewHostImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/test/web_contents_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index 2c4c25f59fe7de3a80006eb71b7895323578e096..840be8cb0667364800fa7e94129742a2f4207daa 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -194,13 +194,8 @@
// RenderViewHostDelegate.
virtual void SyncRendererPrefs() = 0;
- // Returns the current WebKit preferences. Note: WebPreferences is cached, so
- // this lookup will be fast
+ // Returns the current WebKit preferences.
virtual WebPreferences GetWebkitPreferences() = 0;
-
- // If any state that affects the webkit preferences changed, this method must
- // be called. This triggers recomputing preferences.
- virtual void OnWebkitPreferencesChanged() = 0;
// Passes a list of Webkit preferences to the renderer.
virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/test/web_contents_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698