| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 478 |
| 479 void RemoteWindowTreeHostWin::PostNativeEvent( | 479 void RemoteWindowTreeHostWin::PostNativeEvent( |
| 480 const base::NativeEvent& native_event) { | 480 const base::NativeEvent& native_event) { |
| 481 } | 481 } |
| 482 | 482 |
| 483 void RemoteWindowTreeHostWin::OnDeviceScaleFactorChanged( | 483 void RemoteWindowTreeHostWin::OnDeviceScaleFactorChanged( |
| 484 float device_scale_factor) { | 484 float device_scale_factor) { |
| 485 NOTIMPLEMENTED(); | 485 NOTIMPLEMENTED(); |
| 486 } | 486 } |
| 487 | 487 |
| 488 void RemoteWindowTreeHostWin::PrepareForShutdown() { |
| 489 } |
| 490 |
| 488 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { | 491 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { |
| 489 return dispatcher(); | 492 return dispatcher(); |
| 490 } | 493 } |
| 491 | 494 |
| 492 void RemoteWindowTreeHostWin::CancelComposition() { | 495 void RemoteWindowTreeHostWin::CancelComposition() { |
| 493 if (!host_) | 496 if (!host_) |
| 494 return; | 497 return; |
| 495 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); | 498 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); |
| 496 } | 499 } |
| 497 | 500 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 } | 768 } |
| 766 | 769 |
| 767 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { | 770 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { |
| 768 if (flags == event_flags_) | 771 if (flags == event_flags_) |
| 769 return; | 772 return; |
| 770 event_flags_ = flags; | 773 event_flags_ = flags; |
| 771 SetVirtualKeyStates(event_flags_); | 774 SetVirtualKeyStates(event_flags_); |
| 772 } | 775 } |
| 773 | 776 |
| 774 } // namespace aura | 777 } // namespace aura |
| OLD | NEW |