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 */, |