Chromium Code Reviews| Index: chrome/browser/tab_contents/tab_contents_delegate.h |
| =================================================================== |
| --- chrome/browser/tab_contents/tab_contents_delegate.h (revision 34039) |
| +++ chrome/browser/tab_contents/tab_contents_delegate.h (working copy) |
| @@ -16,6 +16,7 @@ |
| #include "webkit/glue/context_menu.h" |
| #include "webkit/glue/window_open_disposition.h" |
| +class Browser; |
| class DownloadItem; |
| class ExtensionFunctionDispatcher; |
| class GURL; |
| @@ -251,6 +252,12 @@ |
| int32 page_id) { |
| } |
| + // Returns the browser in which the tab contents is being displayed. |
| + virtual Browser* GetBrowser() { return NULL; } |
|
Ben Goodger (Google)
2010/06/03 23:21:18
This is a layering violation and is just about the
Jeff Timanus
2010/06/04 18:16:15
Yikes! And I love kittens! (We should be able to
|
| + |
| + // Returns the widget framing the view containing the tab contents. |
| + virtual gfx::NativeWindow GetFrameNativeWindow() { return NULL; } |
|
Ben Goodger (Google)
2010/06/03 23:21:18
See the above comment. I am not clear on the need
|
| + |
| protected: |
| ~TabContentsDelegate() {} |
| }; |