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

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

Issue 11316244: [content shell] add support for a testRunner.setXSSAuditorEnabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 years, 1 month 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/content_shell.gypi ('k') | content/renderer/render_view_impl.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 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;
« no previous file with comments | « content/content_shell.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698