Chromium Code Reviews| 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..0f56470c492d03d0c8a11e13118581c8b1a60cfb 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,8 @@ 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; |
| + virtual void ApplyWebPreferences(const WebPreferences& preferences) = 0; |
|
jam
2014/07/02 18:33:23
nit: please add a comment here
actually I had for
tfarina
2014/07/02 23:57:36
Done.
|
| + |
| // Returns the associated WebView. May return NULL when the view is closing. |
| virtual blink::WebView* GetWebView() = 0; |