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

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

Issue 389663003: aura: Remove WindowTreeHost::OnDeviceScaleFactorChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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/events/platform/platform_event_source.h" 8 #include "ui/events/platform/platform_event_source.h"
9 #include "ui/ozone/public/cursor_factory_ozone.h" 9 #include "ui/ozone/public/cursor_factory_ozone.h"
10 #include "ui/ozone/public/event_factory_ozone.h" 10 #include "ui/ozone/public/event_factory_ozone.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); } 75 void WindowTreeHostOzone::SetCapture() { NOTIMPLEMENTED(); }
76 76
77 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); } 77 void WindowTreeHostOzone::ReleaseCapture() { NOTIMPLEMENTED(); }
78 78
79 void WindowTreeHostOzone::PostNativeEvent( 79 void WindowTreeHostOzone::PostNativeEvent(
80 const base::NativeEvent& native_event) { 80 const base::NativeEvent& native_event) {
81 NOTIMPLEMENTED(); 81 NOTIMPLEMENTED();
82 } 82 }
83 83
84 void WindowTreeHostOzone::OnDeviceScaleFactorChanged(
85 float device_scale_factor) {
86 NOTIMPLEMENTED();
87 }
88
89 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { 84 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) {
90 ui::CursorFactoryOzone::GetInstance()->SetCursor(GetAcceleratedWidget(), 85 ui::CursorFactoryOzone::GetInstance()->SetCursor(GetAcceleratedWidget(),
91 cursor.platform()); 86 cursor.platform());
92 } 87 }
93 88
94 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) { 89 void WindowTreeHostOzone::MoveCursorToNative(const gfx::Point& location) {
95 ui::EventFactoryOzone::GetInstance()->WarpCursorTo(GetAcceleratedWidget(), 90 ui::EventFactoryOzone::GetInstance()->WarpCursorTo(GetAcceleratedWidget(),
96 location); 91 location);
97 } 92 }
98 93
(...skipping 10 matching lines...) Expand all
109 return new WindowTreeHostOzone(bounds); 104 return new WindowTreeHostOzone(bounds);
110 } 105 }
111 106
112 // static 107 // static
113 gfx::Size WindowTreeHost::GetNativeScreenSize() { 108 gfx::Size WindowTreeHost::GetNativeScreenSize() {
114 NOTIMPLEMENTED(); 109 NOTIMPLEMENTED();
115 return gfx::Size(); 110 return gfx::Size();
116 } 111 }
117 112
118 } // namespace aura 113 } // 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