Index: content/common/browser_plugin/browser_plugin_messages.h |
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h |
index 5fe540236a6d18a005ca8a728dd4c3135a814f45..d07bb7f10fbc82f4bf28788a44b84a91cb1023c4 100644 |
--- a/content/common/browser_plugin/browser_plugin_messages.h |
+++ b/content/common/browser_plugin/browser_plugin_messages.h |
@@ -18,6 +18,7 @@ |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_message_utils.h" |
+#include "third_party/WebKit/public/platform/WebFocusType.h" |
#include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
#include "third_party/WebKit/public/web/WebDragOperation.h" |
#include "third_party/WebKit/public/web/WebDragStatus.h" |
@@ -35,6 +36,7 @@ |
IPC_ENUM_TRAITS_MAX_VALUE(blink::WebDragStatus, blink::WebDragStatusLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::WebFocusTypeLast) |
IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params) |
// The new size of guest view. |
@@ -111,9 +113,10 @@ IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_Detach, |
int /* browser_plugin_instance_id */) |
// Tells the guest to focus or defocus itself. |
-IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus, |
+IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_SetFocus, |
int /* browser_plugin_instance_id */, |
- bool /* enable */) |
+ bool /* enable */, |
+ blink::WebFocusType /* focus_type */) |
// Sends an input event to the guest. |
IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_HandleInputEvent, |