summaryrefslogtreecommitdiffstats
path: root/ash/wm
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 18:20:50 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 18:20:50 +0000
commit80ec6cf87ef5e8a2e7572e7db7ad2fd9446fc1b0 (patch)
tree7b2f1a544cff454ae2f4c97cf82f8b8e51cdd8ab /ash/wm
parentd47c11f4415d73494480595a838d3d58de38493d (diff)
downloadchromium_src-80ec6cf87ef5e8a2e7572e7db7ad2fd9446fc1b0.zip
chromium_src-80ec6cf87ef5e8a2e7572e7db7ad2fd9446fc1b0.tar.gz
chromium_src-80ec6cf87ef5e8a2e7572e7db7ad2fd9446fc1b0.tar.bz2
We should not be setting state in ET_MOUSE_MOVED
This fixes an issue where it was possible to get the tab contents to jump out of their frame by opening the network menu and starting to drag the window while the menu was open. The reason is that the HANDLE_DRAG would handle the drag as if it originated at the location that the menu was opened Review URL: http://codereview.chromium.org/9006034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm')
-rw-r--r--ash/wm/toplevel_window_event_filter.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/ash/wm/toplevel_window_event_filter.cc b/ash/wm/toplevel_window_event_filter.cc
index cafea95..6246cdf 100644
--- a/ash/wm/toplevel_window_event_filter.cc
+++ b/ash/wm/toplevel_window_event_filter.cc
@@ -175,9 +175,6 @@ bool ToplevelWindowEventFilter::PreHandleMouseEvent(aura::Window* target,
// Process EventFilters implementation first so that it processes
// activation/focus first.
switch (event->type()) {
- case ui::ET_MOUSE_MOVED:
- UpdateWindowComponentForEvent(target, event);
- break;
case ui::ET_MOUSE_PRESSED:
// We also update the current window component here because for the
// mouse-drag-release-press case, where the mouse is released and