summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 15:51:51 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-03 15:51:51 +0000
commit2f3d5e9d754f4d107bd447eddb4830eb04ad030f (patch)
tree2b4dab6e2a8e1a36ba63bbdc3eeff7ff63bfcd06 /ui
parent5e4777dcd0c43207d0bdc4a568ae453056505c8f (diff)
downloadchromium_src-2f3d5e9d754f4d107bd447eddb4830eb04ad030f.zip
chromium_src-2f3d5e9d754f4d107bd447eddb4830eb04ad030f.tar.gz
chromium_src-2f3d5e9d754f4d107bd447eddb4830eb04ad030f.tar.bz2
Revert 135144 - Remove resize border from maximized app windows
BUG=121697 TEST=None Review URL: https://chromiumcodereview.appspot.com/10170021 TBR=davemoore@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/aura/test/event_generator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/aura/test/event_generator.cc b/ui/aura/test/event_generator.cc
index 53a8767..345258c 100644
--- a/ui/aura/test/event_generator.cc
+++ b/ui/aura/test/event_generator.cc
@@ -81,10 +81,10 @@ void EventGenerator::PressLeftButton() {
void EventGenerator::ReleaseLeftButton() {
if (flags_ & ui::EF_LEFT_MOUSE_BUTTON) {
- flags_ ^= ui::EF_LEFT_MOUSE_BUTTON;
MouseEvent mouseev(
- ui::ET_MOUSE_RELEASED, current_location_, current_location_, 0);
+ ui::ET_MOUSE_RELEASED, current_location_, current_location_, flags_);
Dispatch(mouseev);
+ flags_ ^= ui::EF_LEFT_MOUSE_BUTTON;
}
}