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

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: android fix - webview() -> web_view 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/public/renderer/render_frame.h ('k') | content/public/renderer/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..609e00bbf7b9c90bff6c3bb6d3ba499f1b3fe42c 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:
@@ -50,6 +49,10 @@ class CONTENT_EXPORT RenderView : public IPC::Sender {
// been closed but not yet destroyed are excluded).
static void ForEach(RenderViewVisitor* visitor);
+ // Applies WebKit related preferences to this view.
+ static void ApplyWebPreferences(const WebPreferences& preferences,
+ blink::WebView* web_view);
+
// Returns the main RenderFrame.
virtual RenderFrame* GetMainRenderFrame() = 0;
« no previous file with comments | « content/public/renderer/render_frame.h ('k') | content/public/renderer/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698