Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Side by Side Diff: trunk/src/ui/aura/remote_window_tree_host_win.cc

Issue 205313002: Revert 258077 "Remove PrepareForShutdown" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « trunk/src/ui/aura/remote_window_tree_host_win.h ('k') | trunk/src/ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698