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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
6 6
7 namespace views { 7 namespace views {
8 8
9 // static 9 // static
10 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( 10 DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
11 internal::NativeWidgetDelegate* native_widget_delegate, 11 internal::NativeWidgetDelegate* native_widget_delegate,
12 DesktopNativeWidgetAura* desktop_native_widget_aura) { 12 DesktopNativeWidgetAura* desktop_native_widget_aura) {
13 // DesktopNativeWidgetAura is only used with mus, and MusClient injects the 13 // DesktopNativeWidgetAura is only used with mus, and MusClient sets itself
14 // DesktopWindowTreeHost so that this is never called. 14 // as the factory for both NativeWidgets and DesktopWindowTreeHosts, so this
15 // should never be called.
15 NOTREACHED(); 16 NOTREACHED();
16 return nullptr; 17 return nullptr;
17 } 18 }
18 19
19 } // namespace views 20 } // namespace views
OLDNEW
« 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