Index: chrome/browser/tab_contents/tab_contents_delegate.h |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents_delegate.h (revision 54564) |
+++ chrome/browser/tab_contents/tab_contents_delegate.h (working copy) |
@@ -19,6 +19,7 @@ |
#include "webkit/glue/context_menu.h" |
#include "webkit/glue/window_open_disposition.h" |
+class Browser; |
class DownloadItem; |
class ExtensionFunctionDispatcher; |
class GURL; |
@@ -247,6 +248,9 @@ |
virtual void OnDidGetApplicationInfo(TabContents* tab_contents, |
int32 page_id); |
+ // Returns the browser in which the tab contents is being displayed. |
+ virtual Browser* GetBrowser(); |
+ |
// Returns the native window framing the view containing the tab contents. |
virtual gfx::NativeWindow GetFrameNativeWindow(); |