Commit 5d801145 authored by sky@chromium.org's avatar sky@chromium.org

Fixes bug in ui_controls_aurax11. A return value of false means

failure.

BUG=none
TEST=none
R=oshima@chromium.org


Review URL: http://codereview.chromium.org/8820006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113289 0039d316-1c4b-4281-b951-d872f2087c98
parent ea29f15e
...@@ -150,7 +150,7 @@ bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& closure) { ...@@ -150,7 +150,7 @@ bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& closure) {
// Desktop will take care of other necessary fields. // Desktop will take care of other necessary fields.
aura::Desktop::GetInstance()->PostNativeEvent(&xevent); aura::Desktop::GetInstance()->PostNativeEvent(&xevent);
RunClosureAfterAllPendingUIEvents(closure); RunClosureAfterAllPendingUIEvents(closure);
return false; return true;
} }
bool SendMouseEvents(MouseButton type, int state) { bool SendMouseEvents(MouseButton type, int state) {
...@@ -193,7 +193,7 @@ bool SendMouseEventsNotifyWhenDone(MouseButton type, ...@@ -193,7 +193,7 @@ bool SendMouseEventsNotifyWhenDone(MouseButton type,
desktop->PostNativeEvent(&xevent); desktop->PostNativeEvent(&xevent);
} }
RunClosureAfterAllPendingUIEvents(closure); RunClosureAfterAllPendingUIEvents(closure);
return false; return true;
} }
bool SendMouseClick(MouseButton type) { bool SendMouseClick(MouseButton type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment