diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-10 15:49:36 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-10 15:49:36 +0000 |
commit | b178f4af8c04cbbd5110518a77ad7dfa00228cbc (patch) | |
tree | 89d45f2ed4d614abf2552dfe05b63850fc2260d3 /ui/aura/root_window.h | |
parent | 3916ba52df519f3f32e0f231df53736e780df90a (diff) | |
download | chromium_src-b178f4af8c04cbbd5110518a77ad7dfa00228cbc.zip chromium_src-b178f4af8c04cbbd5110518a77ad7dfa00228cbc.tar.gz chromium_src-b178f4af8c04cbbd5110518a77ad7dfa00228cbc.tar.bz2 |
Makes RootWindow::RepostEvent() target capture window
Prior to this RepostEvent would always look up the target based on
position, circumventing capture. It shouldn't do that.
BUG=275760
TEST=covered by unit test
R=sadrul@chromium.org
Review URL: https://codereview.chromium.org/26762002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window.h')
-rw-r--r-- | ui/aura/root_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h index 9969d8b..1282f46 100644 --- a/ui/aura/root_window.h +++ b/ui/aura/root_window.h @@ -398,7 +398,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate, // methods dispatch events from RootWindowHost the coordinates are in terms of // the root. bool DispatchMouseEventImpl(ui::MouseEvent* event); - bool DispatchMouseEventRepost(ui::MouseEvent* event); + void DispatchMouseEventRepost(ui::MouseEvent* event); bool DispatchMouseEventToTarget(ui::MouseEvent* event, Window* target); bool DispatchTouchEventImpl(ui::TouchEvent* event); // Reposts the gesture event to the Window which is a target for the event |