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

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

Issue 433733002: Revert 284592 "Cache the current WebPreferences on RenderViewHos..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2107/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
===================================================================
--- content/public/browser/render_view_host.h (revision 286686)
+++ content/public/browser/render_view_host.h (working copy)
@@ -194,14 +194,9 @@
// 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