| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/remote_window_tree_host_win.h" | 5 #include "ui/aura/remote_window_tree_host_win.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // the SetCursor operation completed. | 264 // the SetCursor operation completed. |
| 265 ignore_mouse_moves_until_set_cursor_ack_++; | 265 ignore_mouse_moves_until_set_cursor_ack_++; |
| 266 VLOG(1) << "In MoveCursorTo. Sending IPC"; | 266 VLOG(1) << "In MoveCursorTo. Sending IPC"; |
| 267 host_->Send(new MetroViewerHostMsg_SetCursorPos(location.x(), location.y())); | 267 host_->Send(new MetroViewerHostMsg_SetCursorPos(location.x(), location.y())); |
| 268 } | 268 } |
| 269 | 269 |
| 270 void RemoteWindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) { | 270 void RemoteWindowTreeHostWin::OnCursorVisibilityChangedNative(bool show) { |
| 271 NOTIMPLEMENTED(); | 271 NOTIMPLEMENTED(); |
| 272 } | 272 } |
| 273 | 273 |
| 274 void RemoteWindowTreeHostWin::PostNativeEvent( | |
| 275 const base::NativeEvent& native_event) { | |
| 276 } | |
| 277 | |
| 278 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { | 274 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { |
| 279 return dispatcher(); | 275 return dispatcher(); |
| 280 } | 276 } |
| 281 | 277 |
| 282 void RemoteWindowTreeHostWin::CancelComposition() { | 278 void RemoteWindowTreeHostWin::CancelComposition() { |
| 283 if (!host_) | 279 if (!host_) |
| 284 return; | 280 return; |
| 285 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); | 281 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); |
| 286 } | 282 } |
| 287 | 283 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 } | 511 } |
| 516 | 512 |
| 517 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { | 513 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { |
| 518 if (flags == event_flags_) | 514 if (flags == event_flags_) |
| 519 return; | 515 return; |
| 520 event_flags_ = flags; | 516 event_flags_ = flags; |
| 521 SetVirtualKeyStates(event_flags_); | 517 SetVirtualKeyStates(event_flags_); |
| 522 } | 518 } |
| 523 | 519 |
| 524 } // namespace aura | 520 } // namespace aura |
| OLD | NEW |