Index: chrome/browser/ui/browser_window.h |
=================================================================== |
--- chrome/browser/ui/browser_window.h (revision 85003) |
+++ chrome/browser/ui/browser_window.h (working copy) |
@@ -339,6 +339,10 @@ |
virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; |
#endif |
+ // Returns a pointer to the Panel instance if the browser window is indeed a |
+ // panel, or NULL if there is none. |
+ virtual Panel* GetAsPanel() { return NULL; } |
+ |
// Construct a BrowserWindow implementation for the specified |browser|. |
static BrowserWindow* CreateBrowserWindow(Browser* browser); |