summaryrefslogtreecommitdiffstats
path: root/ash/accelerators/accelerator_dispatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate win/x dispatchersoshima@chromium.org2012-04-091-6/+2
| | | | | | | | | | BUG=116282 TEST=no functional change. All tests should pass. Review URL: http://codereview.chromium.org/9958152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131412 0039d316-1c4b-4281-b951-d872f2087c98
* Translates events so that accelerators which require ↵pkotwicz@chromium.org2012-03-051-0/+2
| | | | | | | | | | | | | | | 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
* Fix two crash and potential leak&crashoshima@chromium.org2012-02-151-1/+7
| | | | | | | | | | | | | | | | | * closing window while menu is open This only fix part of this. There is another place that crashes and i'll address it in separate CL. * closing window while modal dialog is open * release resources early and use window::Close in BallonViewImpl This was causing crash if the widget gets closed earlier than DelayedClose task is executed. BUG=114123 TEST=none Review URL: http://codereview.chromium.org/9348113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122028 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes login screen menus.pkotwicz@chromium.org2012-02-101-1/+7
| | | | | | | | | | | | | | Pass in an instance of a window to use for testing whether the inner dispatcher can receive events. The |associated_window| should be such that it is behind a window which stops event propagation whenever the inner dispatcher should not receive events. This fixes menus on the login screen because menus are above the lock screen in z order. Bug=113247 Testing=Manual Review URL: http://codereview.chromium.org/9374028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121570 0039d316-1c4b-4281-b951-d872f2087c98
* Implements accelerator handling for menus on aura.pkotwicz@chromium.org2012-02-071-0/+37
| | | | | | | | | BUG=105964 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9224001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120777 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120587 - Implements accelerator handling for menus on aura.pkotwicz@chromium.org2012-02-061-37/+0
| | | | | | | | | | | | BUG=105964 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9224001 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9334008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120589 0039d316-1c4b-4281-b951-d872f2087c98
* Implements accelerator handling for menus on aura.pkotwicz@chromium.org2012-02-061-0/+37
| | | | | | | | | BUG=105964 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9224001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120587 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120566 - Implements accelerator handling for menus on aura.pkotwicz@chromium.org2012-02-061-37/+0
| | | | | | | | | | | | | | BUG=105964 TEST=Manual Depends on http://codereview.chromium.org/9124021 Review URL: https://chromiumcodereview.appspot.com/9224001 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9310124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120569 0039d316-1c4b-4281-b951-d872f2087c98
* Implements accelerator handling for menus on aura.pkotwicz@chromium.org2012-02-061-0/+37
BUG=105964 TEST=Manual Depends on http://codereview.chromium.org/9124021 Review URL: https://chromiumcodereview.appspot.com/9224001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120566 0039d316-1c4b-4281-b951-d872f2087c98