Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: chrome/browser/tab_contents/tab_contents_delegate.h

Issue 434046: Support for chrome.experimental.popup API in ExternalTabContainer views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/views/browser_actions_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/browser/views/browser_actions_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698