| 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/bindings/allocation_scope.h" | 8 #include "mojo/public/bindings/allocation_scope.h" |
| 9 #include "mojo/public/gles2/gles2.h" | 9 #include "mojo/public/gles2/gles2.h" |
| 10 #include "mojo/services/native_viewport/geometry_conversions.h" | 10 #include "mojo/services/native_viewport/geometry_conversions.h" |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 void WindowTreeHostMojo::PostNativeEvent( | 122 void WindowTreeHostMojo::PostNativeEvent( |
| 123 const base::NativeEvent& native_event) { | 123 const base::NativeEvent& native_event) { |
| 124 NOTIMPLEMENTED(); | 124 NOTIMPLEMENTED(); |
| 125 } | 125 } |
| 126 | 126 |
| 127 void WindowTreeHostMojo::OnDeviceScaleFactorChanged(float device_scale_factor) { | 127 void WindowTreeHostMojo::OnDeviceScaleFactorChanged(float device_scale_factor) { |
| 128 NOTIMPLEMENTED(); | 128 NOTIMPLEMENTED(); |
| 129 } | 129 } |
| 130 | 130 |
| 131 void WindowTreeHostMojo::PrepareForShutdown() { | |
| 132 NOTIMPLEMENTED(); | |
| 133 } | |
| 134 | |
| 135 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { | 131 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { |
| 136 NOTIMPLEMENTED(); | 132 NOTIMPLEMENTED(); |
| 137 } | 133 } |
| 138 | 134 |
| 139 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { | 135 void WindowTreeHostMojo::MoveCursorToNative(const gfx::Point& location) { |
| 140 NOTIMPLEMENTED(); | 136 NOTIMPLEMENTED(); |
| 141 } | 137 } |
| 142 | 138 |
| 143 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) { | 139 void WindowTreeHostMojo::OnCursorVisibilityChangedNative(bool show) { |
| 144 NOTIMPLEMENTED(); | 140 NOTIMPLEMENTED(); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 event.flags(), event.key_data().is_char()); | 191 event.flags(), event.key_data().is_char()); |
| 196 SendEventToProcessor(&ev); | 192 SendEventToProcessor(&ev); |
| 197 break; | 193 break; |
| 198 } | 194 } |
| 199 // TODO(beng): touch, etc. | 195 // TODO(beng): touch, etc. |
| 200 } | 196 } |
| 201 }; | 197 }; |
| 202 | 198 |
| 203 } // namespace examples | 199 } // namespace examples |
| 204 } // namespace mojo | 200 } // namespace mojo |
| OLD | NEW |