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

Side by Side Diff: ui/aura/window_tree_host_ozone.cc

Issue 196573023: Remove PrepareForShutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/aura/window_tree_host_win.h » ('j') | 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_ozone.h" 5 #include "ui/aura/window_tree_host_ozone.h"
6 6
7 #include "ui/aura/window_event_dispatcher.h" 7 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/base/cursor/ozone/cursor_factory_ozone.h" 8 #include "ui/base/cursor/ozone/cursor_factory_ozone.h"
9 #include "ui/events/ozone/event_factory_ozone.h" 9 #include "ui/events/ozone/event_factory_ozone.h"
10 #include "ui/gfx/ozone/surface_factory_ozone.h" 10 #include "ui/gfx/ozone/surface_factory_ozone.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void WindowTreeHostOzone::PostNativeEvent( 89 void WindowTreeHostOzone::PostNativeEvent(
90 const base::NativeEvent& native_event) { 90 const base::NativeEvent& native_event) {
91 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
92 } 92 }
93 93
94 void WindowTreeHostOzone::OnDeviceScaleFactorChanged( 94 void WindowTreeHostOzone::OnDeviceScaleFactorChanged(
95 float device_scale_factor) { 95 float device_scale_factor) {
96 NOTIMPLEMENTED(); 96 NOTIMPLEMENTED();
97 } 97 }
98 98
99 void WindowTreeHostOzone::PrepareForShutdown() { NOTIMPLEMENTED(); }
100
101 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { 99 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) {
102 ui::CursorFactoryOzone::GetInstance()->SetCursor(GetAcceleratedWidget(), 100 ui::CursorFactoryOzone::GetInstance()->SetCursor(GetAcceleratedWidget(),
103 cursor.platform()); 101 cursor.platform());
104 } 102 }
105 103
106 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { 104 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) {
107 ui::EventFactoryOzone::GetInstance()->WarpCursorTo(GetAcceleratedWidget(), 105 ui::EventFactoryOzone::GetInstance()->WarpCursorTo(GetAcceleratedWidget(),
108 location); 106 location);
109 } 107 }
110 108
(...skipping 10 matching lines...) Expand all
121 return new WindowTreeHostOzone(bounds); 119 return new WindowTreeHostOzone(bounds);
122 } 120 }
123 121
124 // static 122 // static
125 gfx::Size WindowTreeHost::GetNativeScreenSize() { 123 gfx::Size WindowTreeHost::GetNativeScreenSize() {
126 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
127 return gfx::Size(); 125 return gfx::Size();
128 } 126 }
129 127
130 } // namespace aura 128 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window_tree_host_ozone.h ('k') | ui/aura/window_tree_host_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698