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

Unified Diff: content/shell/shell_webpreferences.h

Issue 11565036: [content shell] use WebTestRunner::WebPreferences for layout tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years 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/shell/shell_messages.h ('k') | content/shell/shell_webpreferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_webpreferences.h
diff --git a/content/shell/shell_webpreferences.h b/content/shell/shell_webpreferences.h
index 96579d2c4ef4e92707d6134a6a590ef59b63dbfb..17db08be88767db81523abf8099730e0cc071b4c 100644
--- a/content/shell/shell_webpreferences.h
+++ b/content/shell/shell_webpreferences.h
@@ -5,22 +5,16 @@
#ifndef CONTENT_SHELL_SHELL_WEBPREFERENCES_H_
#define CONTENT_SHELL_SHELL_WEBPREFERENCES_H_
+#include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/WebPreferences.h"
+
namespace webkit_glue {
struct WebPreferences;
}
namespace content {
-struct ShellWebPreferences {
- bool allow_universal_access_from_file_urls;
- bool dom_paste_enabled;
- bool javascript_can_access_clipboard;
- bool xss_auditor_enabled;
-
- ShellWebPreferences();
- ~ShellWebPreferences();
-
- void Apply(webkit_glue::WebPreferences* prefs) const;
+struct ShellWebPreferences : public WebTestRunner::WebPreferences {
jam 2012/12/17 16:30:34 just saw this when looking through your other chan
+ void Export(webkit_glue::WebPreferences* prefs) const;
};
} // namespace content
« no previous file with comments | « content/shell/shell_messages.h ('k') | content/shell/shell_webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698