| Index: chrome/test/automation/tab_proxy.h
|
| diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
|
| index 1e393f5461eb0645a613c72b17425d56733355af..1984224d4428e2c43dfbd485d1a81fa36e88a31f 100644
|
| --- a/chrome/test/automation/tab_proxy.h
|
| +++ b/chrome/test/automation/tab_proxy.h
|
| @@ -5,7 +5,12 @@
|
| #ifndef CHROME_TEST_AUTOMATION_TAB_PROXY_H_
|
| #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_
|
|
|
| +#include "build/build_config.h"
|
| +
|
| +#if defined(OS_WIN)
|
| #include <wtypes.h>
|
| +#endif
|
| +
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -127,9 +132,13 @@ class TabProxy : public AutomationResourceProxy {
|
| // the last tab.
|
| bool Close(bool wait_until_closed);
|
|
|
| +#if defined(OS_WIN)
|
| + // TODO(port): Use portable replacement for HWND.
|
| +
|
| // Gets the HWND that corresponds to the content area of this tab.
|
| // Returns true if the call was successful.
|
| bool GetHWND(HWND* hwnd) const;
|
| +#endif // defined(OS_WIN)
|
|
|
| // Gets the process ID that corresponds to the content area of this tab.
|
| // Returns true if the call was successful. If the specified tab has no
|
| @@ -197,6 +206,9 @@ class TabProxy : public AutomationResourceProxy {
|
| // page has been hidden. Return false if a failure happens.
|
| bool HideInterstitialPage();
|
|
|
| +#if defined(OS_WIN)
|
| + // TODO(port): Use something portable.
|
| +
|
| // This sets the keyboard accelerators to be used by an externally
|
| // hosted tab. This call is not valid on a regular tab hosted within
|
| // Chrome.
|
| @@ -206,6 +218,7 @@ class TabProxy : public AutomationResourceProxy {
|
| // accelerator keys that it did not process. This gives the tab a chance
|
| // to handle the keys
|
| bool ProcessUnhandledAccelerator(const MSG& msg);
|
| +#endif // defined(OS_WIN)
|
|
|
| // Ask the tab to set focus to either the first or last element on the page.
|
| bool SetInitialFocus(bool reverse);
|
|
|