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

Unified Diff: chrome/browser/external_tab_container.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
Index: chrome/browser/external_tab_container.h
===================================================================
--- chrome/browser/external_tab_container.h (revision 34039)
+++ chrome/browser/external_tab_container.h (working copy)
@@ -115,6 +115,7 @@
virtual bool IsExternalTabContainer() const {
return true;
};
+ virtual gfx::NativeWindow GetFrameNativeWindow();
virtual bool HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
@@ -129,6 +130,8 @@
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 @@
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);

Powered by Google App Engine
This is Rietveld 408576698