Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index c4fce50b7bd07f61cfc506c3c611803f70dcd378..bee75e8c8855db87b2c904591b3e26dca794cad5 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -15,8 +15,6 @@ |
#include "third_party/WebKit/public/web/WebPageVisibilityState.h" |
#include "ui/gfx/native_widget_types.h" |
-struct WebPreferences; |
- |
namespace blink { |
class WebElement; |
class WebFrame; |
@@ -37,6 +35,7 @@ namespace content { |
class RenderFrame; |
class RenderViewVisitor; |
struct SSLStatus; |
+struct WebPreferences; |
class CONTENT_EXPORT RenderView : public IPC::Sender { |
public: |
@@ -74,6 +73,9 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
// that the browser process may update the preferences at any time. |
virtual void SetWebkitPreferences(const WebPreferences& preferences) = 0; |
+ // Applies WebKit related preferences to this view. |
+ virtual void ApplyWebPreferences(const WebPreferences& preferences) = 0; |
+ |
// Returns the associated WebView. May return NULL when the view is closing. |
virtual blink::WebView* GetWebView() = 0; |