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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc

Issue 2746763007: Adds a factory function to ViewsDelegate for DesktopWindowTreeHost (Closed)
Patch Set: cleanup Created 3 years, 9 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 | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
index 41b19874ee2d59df03f87937d2060de35e2ec900..d0caf5eba512dd5d230307f48db3d100754ceff3 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
@@ -10,8 +10,9 @@ namespace views {
DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
internal::NativeWidgetDelegate* native_widget_delegate,
DesktopNativeWidgetAura* desktop_native_widget_aura) {
- // DesktopNativeWidgetAura is only used with mus, and MusClient injects the
- // DesktopWindowTreeHost so that this is never called.
+ // DesktopNativeWidgetAura is only used with mus, and MusClient sets itself
+ // as the factory for both NativeWidgets and DesktopWindowTreeHosts, so this
+ // should never be called.
NOTREACHED();
return nullptr;
}
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698