summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/external_tab_container.h')
-rw-r--r--chrome/browser/external_tab_container.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container.h b/chrome/browser/external_tab_container.h
index 4461f7e..0d47d96 100644
--- a/chrome/browser/external_tab_container.h
+++ b/chrome/browser/external_tab_container.h
@@ -115,6 +115,7 @@ class ExternalTabContainer : public TabContentsDelegate,
virtual bool IsExternalTabContainer() const {
return true;
};
+ virtual gfx::NativeWindow GetFrameNativeWindow();
virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
@@ -129,6 +130,8 @@ class ExternalTabContainer : public TabContentsDelegate,
const NavigationEntry::SSLStatus& ssl,
bool show_history);
+ virtual Browser* GetBrowser() { return browser_.get(); }
+
// Overridden from NotificationObserver:
virtual void Observe(NotificationType type,
const NotificationSource& source,
@@ -160,6 +163,9 @@ class ExternalTabContainer : public TabContentsDelegate,
void SetEnableExtensionAutomation(
const std::vector<std::string>& functions_enabled);
+ // Overridden from views::WidgetWin:
+ virtual views::Window* GetWindow();
+
protected:
// Overridden from views::WidgetWin:
virtual LRESULT OnCreate(LPCREATESTRUCT create_struct);