Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index aaa719c0975476fe4f00fa487767fb578d727872..26c0188b7a09e66f263d1249e999861061c44c23 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -68,6 +68,11 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
// Gets WebKit related preferences associated with this view. |
virtual webkit_glue::WebPreferences& GetWebkitPreferences() = 0; |
+ // Overrides the WebKit related preferences associated with this view. Note |
+ // that the browser process may update the preferences at any time. |
+ virtual void SetWebkitPreferences( |
+ const webkit_glue::WebPreferences& preferences) = 0; |
+ |
// Returns the associated WebView. May return NULL when the view is closing. |
virtual WebKit::WebView* GetWebView() = 0; |