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

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 113892: ExternalTabContainer should subclass WidgetWin rather than Widget and ATL CWi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 7 months 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 | « no previous file | chrome/browser/external_tab_container.h » ('j') | chrome/browser/external_tab_container.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.cc
===================================================================
--- chrome/browser/automation/automation_provider.cc (revision 16974)
+++ chrome/browser/automation/automation_provider.cc (working copy)
@@ -59,6 +59,7 @@
#if defined(OS_WIN)
#include "chrome/browser/views/bookmark_bar_view.h"
+#include "views/widget/root_view.h"
#include "views/widget/widget_win.h"
#include "views/window/window.h"
#endif
@@ -2428,7 +2429,7 @@
if (tab_contents) {
*tab_handle = tab_tracker_->Add(&tab_contents->controller());
external_tab_container->set_tab_handle(*tab_handle);
- *tab_container_window = *external_tab_container;
+ *tab_container_window = external_tab_container->GetNativeView();
} else {
delete external_tab_container;
}
« no previous file with comments | « no previous file | chrome/browser/external_tab_container.h » ('j') | chrome/browser/external_tab_container.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698