OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "mojo/examples/aura_demo/window_tree_host_mojo.h" | 5 #include "mojo/examples/aura_demo/window_tree_host_mojo.h" |
6 | 6 |
7 #include "mojo/examples/aura_demo/demo_context_factory.h" | 7 #include "mojo/examples/aura_demo/demo_context_factory.h" |
8 #include "mojo/public/c/gles2/gles2.h" | 8 #include "mojo/public/c/gles2/gles2.h" |
9 #include "mojo/public/cpp/bindings/allocation_scope.h" | 9 #include "mojo/public/cpp/bindings/allocation_scope.h" |
10 #include "mojo/services/native_viewport/geometry_conversions.h" | 10 #include "mojo/services/native_viewport/geometry_conversions.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 89 } |
90 | 90 |
91 void WindowTreeHostMojo::SetCapture() { | 91 void WindowTreeHostMojo::SetCapture() { |
92 NOTIMPLEMENTED(); | 92 NOTIMPLEMENTED(); |
93 } | 93 } |
94 | 94 |
95 void WindowTreeHostMojo::ReleaseCapture() { | 95 void WindowTreeHostMojo::ReleaseCapture() { |
96 NOTIMPLEMENTED(); | 96 NOTIMPLEMENTED(); |
97 } | 97 } |
98 | 98 |
99 bool WindowTreeHostMojo::QueryMouseLocation(gfx::Point* location_return) { | |
100 NOTIMPLEMENTED() << "QueryMouseLocation"; | |
101 return false; | |
102 } | |
103 | |
104 void WindowTreeHostMojo::PostNativeEvent( | 99 void WindowTreeHostMojo::PostNativeEvent( |
105 const base::NativeEvent& native_event) { | 100 const base::NativeEvent& native_event) { |
106 NOTIMPLEMENTED(); | 101 NOTIMPLEMENTED(); |
107 } | 102 } |
108 | 103 |
109 void WindowTreeHostMojo::OnDeviceScaleFactorChanged(float device_scale_factor) { | 104 void WindowTreeHostMojo::OnDeviceScaleFactorChanged(float device_scale_factor) { |
110 NOTIMPLEMENTED(); | 105 NOTIMPLEMENTED(); |
111 } | 106 } |
112 | 107 |
113 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { | 108 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 SendEventToProcessor(&ev); | 167 SendEventToProcessor(&ev); |
173 break; | 168 break; |
174 } | 169 } |
175 // TODO(beng): touch, etc. | 170 // TODO(beng): touch, etc. |
176 } | 171 } |
177 callback.Run(); | 172 callback.Run(); |
178 }; | 173 }; |
179 | 174 |
180 } // namespace examples | 175 } // namespace examples |
181 } // namespace mojo | 176 } // namespace mojo |
OLD | NEW |