| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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( | 274 void RemoteWindowTreeHostWin::PostNativeEvent( |
| 275 const base::NativeEvent& native_event) { | 275 const base::NativeEvent& native_event) { |
| 276 } | 276 } |
| 277 | 277 |
| 278 void RemoteWindowTreeHostWin::OnDeviceScaleFactorChanged( | |
| 279 float device_scale_factor) { | |
| 280 NOTIMPLEMENTED(); | |
| 281 } | |
| 282 | |
| 283 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { | 278 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { |
| 284 return dispatcher(); | 279 return dispatcher(); |
| 285 } | 280 } |
| 286 | 281 |
| 287 void RemoteWindowTreeHostWin::CancelComposition() { | 282 void RemoteWindowTreeHostWin::CancelComposition() { |
| 288 if (!host_) | 283 if (!host_) |
| 289 return; | 284 return; |
| 290 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); | 285 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); |
| 291 } | 286 } |
| 292 | 287 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 } | 511 } |
| 517 | 512 |
| 518 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { | 513 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { |
| 519 if (flags == event_flags_) | 514 if (flags == event_flags_) |
| 520 return; | 515 return; |
| 521 event_flags_ = flags; | 516 event_flags_ = flags; |
| 522 SetVirtualKeyStates(event_flags_); | 517 SetVirtualKeyStates(event_flags_); |
| 523 } | 518 } |
| 524 | 519 |
| 525 } // namespace aura | 520 } // namespace aura |
| OLD | NEW |