| Index: chrome/browser/external_tab/external_tab_container.h
|
| diff --git a/chrome/browser/external_tab/external_tab_container.h b/chrome/browser/external_tab/external_tab_container.h
|
| index d48c170a868cd985dc31f7d04511b6538e805487..d0c72256a6f87eec41d9924f03ecb8fc7178711f 100644
|
| --- a/chrome/browser/external_tab/external_tab_container.h
|
| +++ b/chrome/browser/external_tab/external_tab_container.h
|
| @@ -34,8 +34,9 @@ class ExternalTabContainer : public base::RefCounted<ExternalTabContainer> {
|
| AutomationResourceMessageFilter* filter);
|
|
|
| // A helper method that retrieves the ExternalTabContainer object that
|
| - // hosts the given tab window.
|
| - static ExternalTabContainer* GetContainerForTab(HWND tab_window);
|
| + // hosts the given WebContents.
|
| + static ExternalTabContainer* GetContainerForTab(
|
| + content::WebContents* web_contents);
|
|
|
| // Returns the ExternalTabContainer instance associated with the cookie
|
| // passed in. It also erases the corresponding reference from the map.
|
| @@ -66,7 +67,7 @@ class ExternalTabContainer : public base::RefCounted<ExternalTabContainer> {
|
| // instance is created by Chrome and attached to an automation client.
|
| virtual bool Reinitialize(AutomationProvider* automation_provider,
|
| AutomationResourceMessageFilter* filter,
|
| - gfx::NativeWindow parent_window) = 0;
|
| + HWND parent_window) = 0;
|
|
|
| // This is invoked when the external host reflects back to us a keyboard
|
| // message it did not process.
|
| @@ -79,9 +80,8 @@ class ExternalTabContainer : public base::RefCounted<ExternalTabContainer> {
|
| virtual void RunUnloadHandlers(IPC::Message* reply_message) = 0;
|
|
|
| virtual content::WebContents* GetWebContents() const = 0;
|
| -
|
| - // This is a wrapper for GetNativeView from ExternalTabContainerWin.
|
| - virtual gfx::NativeView GetExternalTabNativeView() const = 0;
|
| + virtual HWND GetExternalTabHWND() const = 0;
|
| + virtual HWND GetContentHWND() const = 0;
|
|
|
| virtual void SetTabHandle(int handle) = 0;
|
| virtual int GetTabHandle() const = 0;
|
|
|