diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 00:39:05 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 00:39:05 +0000 |
commit | 34338254f776be94d79ca184c4eb2ea5b3f62318 (patch) | |
tree | a20d913935cfe06590e6a39808234774e35e3ff8 /views/touchui | |
parent | 7bd801611073a0e79a011a96ec72cb201656344a (diff) | |
download | chromium_src-34338254f776be94d79ca184c4eb2ea5b3f62318.zip chromium_src-34338254f776be94d79ca184c4eb2ea5b3f62318.tar.gz chromium_src-34338254f776be94d79ca184c4eb2ea5b3f62318.tar.bz2 |
Disambiguate OnMouseCaptureLost from OnMouseReleased.
Nix RenderWidgetHostViewViews' OnMouseCaptureLost forwarding.
Consolidate code, remove unnecessary overrides, etc.
Fix up test, |event| args, OVERRIDEs, and (c) dates.
BUG=72040
TEST=Views mouse button release, cancelling mouse down/drag.
Review URL: http://codereview.chromium.org/6685069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/touchui')
-rw-r--r-- | views/touchui/gesture_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/touchui/gesture_manager.cc b/views/touchui/gesture_manager.cc index 2442469..18efe5f 100644 --- a/views/touchui/gesture_manager.cc +++ b/views/touchui/gesture_manager.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -52,7 +52,7 @@ bool GestureManager::ProcessTouchEventForGesture(const TouchEvent& event, DVLOG(1) << "GestureManager::ProcessTouchEventForGesture: TouchReleased"; MouseEvent mouse_event(ui::ET_MOUSE_RELEASED, location.x(), location.y(), event.flags()); - source->OnMouseReleased(mouse_event, false); + source->OnMouseReleased(mouse_event); return true; } |