summaryrefslogtreecommitdiffstats
path: root/ash/accelerators/accelerator_dispatcher.h
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-05 18:05:10 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-05 18:05:10 +0000
commitde026795b70de8813bfd6b0f3d76fa24d16bf2fc (patch)
tree4aaad8dd3059374674cd34c132a5a390ba986e06 /ash/accelerators/accelerator_dispatcher.h
parentd4628ed8b45112985378b34af39e1cfbb33a19f2 (diff)
downloadchromium_src-de026795b70de8813bfd6b0f3d76fa24d16bf2fc.zip
chromium_src-de026795b70de8813bfd6b0f3d76fa24d16bf2fc.tar.gz
chromium_src-de026795b70de8813bfd6b0f3d76fa24d16bf2fc.tar.bz2
Translates events so that accelerators which require ET_TRANSLATED_KEY_RELEASE and ET_TRANSLATED_KEY_PRESS
are triggered. Translation is always done, so nested dispatcher should not be used for any widgets which have editable content. BUG=113247 TEST=NestedDispatcherTest.AcceleratorHandled Review URL: http://codereview.chromium.org/9538015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators/accelerator_dispatcher.h')
-rw-r--r--ash/accelerators/accelerator_dispatcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/accelerators/accelerator_dispatcher.h b/ash/accelerators/accelerator_dispatcher.h
index 209b67d..1d5d75c 100644
--- a/ash/accelerators/accelerator_dispatcher.h
+++ b/ash/accelerators/accelerator_dispatcher.h
@@ -17,6 +17,8 @@ namespace ash {
// Wraps a nested dispatcher to which control is passed if no accelerator key
// has been pressed.
// TODO(pkotwicz): Port AcceleratorDispatcher to mac.
+// TODO(pkotwicz): Add support for a |nested_dispatcher| which sends
+// events to a system IME.
class ASH_EXPORT AcceleratorDispatcher : public MessageLoop::Dispatcher,
public aura::WindowObserver {
public: