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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.cc

Issue 31043006: Moves creation of various clients to DesktopNativeWidgetAura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 7 years, 2 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/ui/views/frame/browser_desktop_root_window_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/external_tab_container_win.cc
diff --git a/chrome/browser/ui/views/external_tab_container_win.cc b/chrome/browser/ui/views/external_tab_container_win.cc
index 9122af4594cc71b77d9a0e5b3b643ac3a4e8a1ae..f6a7d26195cc92a3fd694c1eea404bde88de484b 100644
--- a/chrome/browser/ui/views/external_tab_container_win.cc
+++ b/chrome/browser/ui/views/external_tab_container_win.cc
@@ -286,11 +286,9 @@ class ExternalTabRootWindowHost : public views::DesktopRootWindowHostWin {
public:
ExternalTabRootWindowHost(
views::internal::NativeWidgetDelegate* native_widget_delegate,
- views::DesktopNativeWidgetAura* desktop_native_widget_aura,
- const gfx::Rect& initial_bounds)
+ views::DesktopNativeWidgetAura* desktop_native_widget_aura)
: views::DesktopRootWindowHostWin(native_widget_delegate,
- desktop_native_widget_aura,
- initial_bounds) {}
+ desktop_native_widget_aura) {}
protected:
// HWNDMessageHandlerDelegate methods:
@@ -385,7 +383,7 @@ bool ExternalTabContainerWin::Init(Profile* profile,
new views::DesktopNativeWidgetAura(widget_);
params.native_widget = native_widget;
params.desktop_root_window_host =
- new ExternalTabRootWindowHost(widget_, native_widget, params.bounds);
+ new ExternalTabRootWindowHost(widget_, native_widget);
params.type = views::Widget::InitParams::TYPE_WINDOW_FRAMELESS;
params.opacity = views::Widget::InitParams::OPAQUE_WINDOW;
#endif
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_desktop_root_window_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698