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

Unified Diff: content/shell/shell_messages.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/shell/shell_content_browser_client.cc ('k') | content/shell/shell_render_process_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_messages.h
diff --git a/content/shell/shell_messages.h b/content/shell/shell_messages.h
index ac5a96abed2a591d456b6e4cd8e287740cf9f95b..d9df4bcebb3cea38fd418dc4ec00adb780e34847 100644
--- a/content/shell/shell_messages.h
+++ b/content/shell/shell_messages.h
@@ -6,11 +6,19 @@
#include <string>
#include "content/public/common/common_param_traits.h"
+#include "content/shell/shell_webpreferences.h"
#include "ipc/ipc_message_macros.h"
#include "third_party/skia/include/core/SkBitmap.h"
#define IPC_MESSAGE_START ShellMsgStart
+IPC_STRUCT_TRAITS_BEGIN(content::ShellWebPreferences)
+ IPC_STRUCT_TRAITS_MEMBER(allow_universal_access_from_file_urls)
+ IPC_STRUCT_TRAITS_MEMBER(dom_paste_enabled)
+ IPC_STRUCT_TRAITS_MEMBER(javascript_can_access_clipboard)
+ IPC_STRUCT_TRAITS_MEMBER(xss_auditor_enabled)
+IPC_STRUCT_TRAITS_END()
+
// Sets the current working directory to use for layout tests.
IPC_MESSAGE_ROUTED1(ShellViewMsg_SetCurrentWorkingDirectory,
FilePath /* current_working_directory */)
@@ -59,6 +67,8 @@ IPC_MESSAGE_ROUTED1(
ShellViewHostMsg_SetShouldStayOnPageAfterHandlingBeforeUnload,
bool /* should_stay_on_page */)
IPC_MESSAGE_ROUTED0(ShellViewHostMsg_WaitUntilDone)
+IPC_MESSAGE_ROUTED1(ShellViewHostMsg_OverridePreferences,
+ content::ShellWebPreferences /* preferences */)
IPC_MESSAGE_ROUTED2(ShellViewHostMsg_NotImplemented,
std::string /* object_name */,
« no previous file with comments | « content/shell/shell_content_browser_client.cc ('k') | content/shell/shell_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698