Index: chrome/common/automation_messages_internal.h |
diff --git a/chrome/common/automation_messages_internal.h b/chrome/common/automation_messages_internal.h |
index 00167ee71e81f07a3ce76953edaacd0c74eb7767..a9ee3dc7cfe5405c4f25252ef06cdb013cba9695 100644 |
--- a/chrome/common/automation_messages_internal.h |
+++ b/chrome/common/automation_messages_internal.h |
@@ -251,18 +251,18 @@ IPC_MESSAGE_CONTROL3(AutomationMsg_DEPRECATED_WindowKeyPress, |
int, |
int, |
int) |
- |
+#if defined(OS_WIN) |
// This message notifies the AutomationProvider to create a tab which is |
// hosted by an external process. |
// Request: |
// ExternalTabSettings - settings for external tab |
IPC_SYNC_MESSAGE_CONTROL1_4(AutomationMsg_CreateExternalTab, |
ExternalTabSettings /* settings*/, |
- gfx::NativeWindow /* Tab container window */, |
- gfx::NativeWindow /* Tab window */, |
+ HWND /* Tab container window */, |
+ HWND /* Tab window */, |
int /* Handle to the new tab */, |
int /* Session Id of the new tab */) |
- |
+#endif // defined(OS_WIN) |
// This message notifies the AutomationProvider to navigate to a specified |
// url in the external tab with given handle. The first parameter is the |
// handle to the tab resource. The second parameter is the target url. |
@@ -557,7 +557,7 @@ IPC_MESSAGE_ROUTED2(AutomationMsg_NavigationFailed, |
int, |
GURL) |
-#if defined(OS_WIN) && !defined(USE_AURA) |
+#if defined(OS_WIN) |
// This message is an outgoing message from an automation client to Chrome. |
// It is used to reposition a chrome tab window. |
IPC_MESSAGE_CONTROL2(AutomationMsg_TabReposition, |
@@ -717,17 +717,17 @@ IPC_SYNC_MESSAGE_CONTROL2_1( |
IPC_MESSAGE_ROUTED1(AutomationMsg_AttachExternalTab, |
AttachExternalTabParams) |
- |
+#if defined(OS_WIN) |
// Sent when the automation client connects to an existing tab. |
IPC_SYNC_MESSAGE_CONTROL3_4(AutomationMsg_ConnectExternalTab, |
uint64 /* cookie */, |
bool /* allow/block tab*/, |
- gfx::NativeWindow /* parent window */, |
- gfx::NativeWindow /* Tab container window */, |
- gfx::NativeWindow /* Tab window */, |
+ HWND /* parent window */, |
+ HWND /* Tab container window */, |
+ HWND /* Tab window */, |
int /* Handle to the new tab */, |
int /* Session Id of the new tab */) |
- |
+#endif // defined(OS_WIN) |
// Simulate an end of session. Normally this happens when the user |
// shuts down the machine or logs off. |
// Request: |