| 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 | |
| 491 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { | 488 ui::EventProcessor* RemoteWindowTreeHostWin::GetEventProcessor() { |
| 492 return dispatcher(); | 489 return dispatcher(); |
| 493 } | 490 } |
| 494 | 491 |
| 495 void RemoteWindowTreeHostWin::CancelComposition() { | 492 void RemoteWindowTreeHostWin::CancelComposition() { |
| 496 if (!host_) | 493 if (!host_) |
| 497 return; | 494 return; |
| 498 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); | 495 host_->Send(new MetroViewerHostMsg_ImeCancelComposition); |
| 499 } | 496 } |
| 500 | 497 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 } | 765 } |
| 769 | 766 |
| 770 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { | 767 void RemoteWindowTreeHostWin::SetEventFlags(uint32 flags) { |
| 771 if (flags == event_flags_) | 768 if (flags == event_flags_) |
| 772 return; | 769 return; |
| 773 event_flags_ = flags; | 770 event_flags_ = flags; |
| 774 SetVirtualKeyStates(event_flags_); | 771 SetVirtualKeyStates(event_flags_); |
| 775 } | 772 } |
| 776 | 773 |
| 777 } // namespace aura | 774 } // namespace aura |
| OLD | NEW |