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

Unified Diff: chrome/browser/external_tab_container.cc

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.cc
===================================================================
--- chrome/browser/external_tab_container.cc (revision 34039)
+++ chrome/browser/external_tab_container.cc (working copy)
@@ -385,6 +385,10 @@
}
}
+gfx::NativeWindow ExternalTabContainer::GetFrameNativeWindow() {
+ return hwnd();
+}
+
bool ExternalTabContainer::TakeFocus(bool reverse) {
if (automation_) {
automation_->Send(new AutomationMsg_TabbedOut(0, tab_handle_,
@@ -677,6 +681,11 @@
}
}
+// ExternalTabContainer instances do not have a window.
+views::Window* ExternalTabContainer::GetWindow() {
+ return NULL;
+}
+
void ExternalTabContainer::Navigate(const GURL& url, const GURL& referrer) {
if (!tab_contents_) {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698