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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc

Issue 2830933006: Obsolete the ozone code path in ui/views/ (Closed)
Patch Set: Created 3 years, 8 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_screen_ozone.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/aura/window_tree_host.h"
6 #include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
7 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 5 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
8 6
9 namespace views { 7 namespace views {
10 8
11 DesktopWindowTreeHost* DesktopWindowTreeHost::Create( 9 DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
12 internal::NativeWidgetDelegate* native_widget_delegate, 10 internal::NativeWidgetDelegate* native_widget_delegate,
13 DesktopNativeWidgetAura* desktop_native_widget_aura) { 11 DesktopNativeWidgetAura* desktop_native_widget_aura) {
14 DesktopFactoryOzone* d_factory = DesktopFactoryOzone::GetInstance(); 12 NOTREACHED() << "Ozone builds should use DesktopWindowTreeHostMus codepath.";
15 13 return nullptr;
16 return d_factory->CreateWindowTreeHost(native_widget_delegate,
17 desktop_native_widget_aura);
18 } 14 }
19 15
20 } // namespace views 16 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_screen_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698