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

Side by Side Diff: ui/views/corewm/input_method_event_filter.h

Issue 184903003: Window ownership -> WindowTreeHost (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
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_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_ 5 #ifndef UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
6 #define UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_ 6 #define UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "ui/aura/window.h" 11 #include "ui/aura/window.h"
12 #include "ui/base/ime/input_method_delegate.h" 12 #include "ui/base/ime/input_method_delegate.h"
13 #include "ui/events/event_handler.h" 13 #include "ui/events/event_handler.h"
14 #include "ui/views/views_export.h" 14 #include "ui/views/views_export.h"
15 15
16 namespace aura {
17 class WindowEventDispatcher;
18 }
19
16 namespace ui { 20 namespace ui {
17 class InputMethod; 21 class InputMethod;
18 } 22 }
19 23
20 namespace views { 24 namespace views {
21 namespace corewm { 25 namespace corewm {
22 26
23 // An event filter that forwards a KeyEvent to a system IME, and dispatches a 27 // An event filter that forwards a KeyEvent to a system IME, and dispatches a
24 // TranslatedKeyEvent to the root window as needed. 28 // TranslatedKeyEvent to the root window as needed.
25 class VIEWS_EXPORT InputMethodEventFilter 29 class VIEWS_EXPORT InputMethodEventFilter
(...skipping 19 matching lines...) Expand all
45 // The target dispatcher that will receive translated key events from the IME. 49 // The target dispatcher that will receive translated key events from the IME.
46 aura::WindowEventDispatcher* target_dispatcher_; 50 aura::WindowEventDispatcher* target_dispatcher_;
47 51
48 DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter); 52 DISALLOW_COPY_AND_ASSIGN(InputMethodEventFilter);
49 }; 53 };
50 54
51 } // namespace corewm 55 } // namespace corewm
52 } // namespace views 56 } // namespace views
53 57
54 #endif // UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_ 58 #endif // UI_VIEWS_COREWM_INPUT_METHOD_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ui/views/corewm/desktop_capture_controller_unittest.cc ('k') | ui/views/corewm/input_method_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698