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

Unified Diff: ash/shell.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ash/ime/ Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ime/input_method_event_filter_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.h
diff --git a/ash/shell.h b/ash/shell.h
index a37c822cd1022b5dd40479d3d5ad3423c946e2a6..b1467543d158c29c05002928cc3f89b84d5c33d3 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -40,6 +40,7 @@ class ActivationController;
class AcceleratorFilter;
class AppList;
class DragDropController;
+class InputMethodEventFilter;
class ShadowController;
class StackingController;
class TooltipController;
@@ -68,6 +69,7 @@ class ASH_EXPORT Shell {
// Adds or removes |filter| from the RootWindowEventFilter.
void AddRootWindowEventFilter(aura::EventFilter* filter);
void RemoveRootWindowEventFilter(aura::EventFilter* filter);
+ size_t GetRootWindowEventFilterCount() const;
// Toggles between overview mode and normal mode.
void ToggleOverview();
@@ -137,6 +139,8 @@ class ASH_EXPORT Shell {
scoped_ptr<internal::ShadowController> shadow_controller_;
scoped_ptr<internal::TooltipController> tooltip_controller_;
+ // An event filter that pre-handles all key events to send them to an IME.
+ scoped_ptr<internal::InputMethodEventFilter> input_method_filter_;
// An event filter that pre-handles global accelerators.
scoped_ptr<internal::AcceleratorFilter> accelerator_filter_;
« no previous file with comments | « ash/ime/input_method_event_filter_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698