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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host.h

Issue 2575243002: Changes DesktopNativeWidgetAura to not call InitHost or window->Show() (Closed)
Patch Set: Created 4 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: ui/views/widget/desktop_aura/desktop_window_tree_host.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host.h b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
index 1237b4ef73f4d10ca3e50f72cc36810c5d9fc65a..cdf5be905ff7d27a04fea5af3bf344b3f6db7ed6 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host.h
@@ -47,6 +47,7 @@ class VIEWS_EXPORT DesktopWindowTreeHost {
DesktopNativeWidgetAura* desktop_native_widget_aura);
// Sets up resources needed before the WindowEventDispatcher has been created.
+ // It is expected this calls InitHost() on the WindowTreeHost.
virtual void Init(aura::Window* content_window,
const Widget::InitParams& params) = 0;

Powered by Google App Engine
This is Rietveld 408576698