| Index: chrome/browser/ui/browser_window.h
|
| diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
|
| index 2422d59ffddb915f865d0e93edd04501f4d56dbe..96edef5e18a2235c8c7f3650f2e2e86f74496723 100644
|
| --- a/chrome/browser/ui/browser_window.h
|
| +++ b/chrome/browser/ui/browser_window.h
|
| @@ -347,6 +347,15 @@ class BrowserWindow : public ui::BaseWindow {
|
| virtual void ResizeDueToAutoResize(content::WebContents* web_contents,
|
| const gfx::Size& new_size) {}
|
|
|
| + // Returns a pointer to the BrowserWindow* interface implementation (an
|
| + // instance of this object, typically) for a given native window, or null if
|
| + // there is no such association.
|
| + //
|
| + // Don't use this unless you only have a NativeWindow. In nearly all
|
| + // situations plumb through browser and use it.
|
| + static BrowserWindow* GetBrowserWindowForNativeWindow(
|
| + gfx::NativeWindow window);
|
| +
|
| // Construct a BrowserWindow implementation for the specified |browser|.
|
| static BrowserWindow* CreateBrowserWindow(Browser* browser,
|
| bool user_gesture);
|
|
|