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

Unified Diff: content/public/renderer/render_view.h

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderView::FromWebView Created 6 years, 6 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
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;

Powered by Google App Engine
This is Rietveld 408576698