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

Side by Side Diff: ui/aura/remote_window_tree_host_win.h

Issue 188223002: Clean up WindowEventDispatcher some more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/remote_window_tree_host_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // ui::EventSource: 240 // ui::EventSource:
241 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; 241 virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
242 242
243 // ui::internal::RemoteInputMethodDelegateWin overrides: 243 // ui::internal::RemoteInputMethodDelegateWin overrides:
244 virtual void CancelComposition() OVERRIDE; 244 virtual void CancelComposition() OVERRIDE;
245 virtual void OnTextInputClientUpdated( 245 virtual void OnTextInputClientUpdated(
246 const std::vector<int32>& input_scopes, 246 const std::vector<int32>& input_scopes,
247 const std::vector<gfx::Rect>& composition_character_bounds) OVERRIDE; 247 const std::vector<gfx::Rect>& composition_character_bounds) OVERRIDE;
248 248
249 // Helper function to dispatch a keyboard message to the desired target. 249 // Helper function to dispatch a keyboard message to the desired target.
250 // The default target is the WindowTreeHostDelegate. For nested message loop 250 // The default target is the WindowEventDispatcher. For nested message loop
251 // invocations we post a synthetic keyboard message directly into the message 251 // invocations we post a synthetic keyboard message directly into the message
252 // loop. The dispatcher for the nested loop would then decide how this 252 // loop. The dispatcher for the nested loop would then decide how this
253 // message is routed. 253 // message is routed.
254 void DispatchKeyboardMessage(ui::EventType type, 254 void DispatchKeyboardMessage(ui::EventType type,
255 uint32 vkey, 255 uint32 vkey,
256 uint32 repeat_count, 256 uint32 repeat_count,
257 uint32 scan_code, 257 uint32 scan_code,
258 uint32 flags, 258 uint32 flags,
259 bool is_character); 259 bool is_character);
260 260
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 299
300 // Current size of this root window. 300 // Current size of this root window.
301 gfx::Size window_size_; 301 gfx::Size window_size_;
302 302
303 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin); 303 DISALLOW_COPY_AND_ASSIGN(RemoteWindowTreeHostWin);
304 }; 304 };
305 305
306 } // namespace aura 306 } // namespace aura
307 307
308 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_ 308 #endif // UI_AURA_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/remote_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698