Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Issue 16950030: Handle alternate types in HandleMouseEvent. (Closed)

Created:
7 years, 6 months ago by girard
Modified:
7 years, 6 months ago
CC:
chromium-reviews, tfarina, ben+watch_chromium.org, dewittj, tapted
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Handle alternate types in HandleMouseEvent. BUG=222777 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208866

Patch Set 1 #

Patch Set 2 : Add support for MouseWheelEvent #

Total comments: 5

Patch Set 3 : Use UpdateForRootTransform #

Patch Set 4 : Refactor to use single transform #

Patch Set 5 : Removed unused MouseEvent::root_location_ #

Total comments: 4

Patch Set 6 : Move virtual override to end of class/public. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+754 lines, -717 lines) Patch
M ui/base/events/event.h View 1 2 3 4 5 1 chunk +717 lines, -712 lines 0 comments Download
M ui/base/events/event.cc View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_win.cc View 1 2 3 1 chunk +19 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
girard
https://src.chromium.org/viewvc/chrome?view=rev&revision=205831 introduced a regression. NativeWidgetWin::HandleMouseEvent now handles subclasses of ui::MouseEvent properly.
7 years, 6 months ago (2013-06-22 15:58:50 UTC) #1
sadrul
A couple of drive-by comments. https://codereview.chromium.org/16950030/diff/3/ui/base/events/event.h File ui/base/events/event.h (right): https://codereview.chromium.org/16950030/diff/3/ui/base/events/event.h#newcode178 ui/base/events/event.h:178: return type_ == ET_MOUSEWHEEL; ...
7 years, 6 months ago (2013-06-24 02:09:35 UTC) #2
girard
Thanks for the review, Sadrul. I've refactored to use a transform, and implemented MouseWheelEvent::UpdateForRootTransform. https://codereview.chromium.org/16950030/diff/3/ui/views/widget/native_widget_win.cc ...
7 years, 6 months ago (2013-06-24 20:37:07 UTC) #3
dewittj
Is there any reason we can't just do the scale factor calculations in the MouseWheelEvent ...
7 years, 6 months ago (2013-06-24 21:26:52 UTC) #4
tapted
drive-by https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h File ui/base/events/event.h (left): https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h#oldcode437 ui/base/events/event.h:437: DISALLOW_COPY_AND_ASSIGN(MouseWheelEvent); I wonder... instead of removing this. What ...
7 years, 6 months ago (2013-06-25 04:18:03 UTC) #5
girard
On 2013/06/24 21:26:52, dewittj wrote: > Is there any reason we can't just do the ...
7 years, 6 months ago (2013-06-25 12:37:55 UTC) #6
girard
I've cleaned up the code as per Sadrul's review. I've also removed an unused variable ...
7 years, 6 months ago (2013-06-25 17:17:22 UTC) #7
Ben Goodger (Google)
https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h File ui/base/events/event.h (right): https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h#newcode431 ui/base/events/event.h:431: // Overridden from LocatedEvent. can/should this private? at the ...
7 years, 6 months ago (2013-06-26 16:37:38 UTC) #8
girard
https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h File ui/base/events/event.h (right): https://codereview.chromium.org/16950030/diff/13001/ui/base/events/event.h#newcode431 ui/base/events/event.h:431: // Overridden from LocatedEvent. On 2013/06/26 16:37:38, Ben Goodger ...
7 years, 6 months ago (2013-06-26 17:59:05 UTC) #9
Ben Goodger (Google)
lgtm On Wed, Jun 26, 2013 at 10:59 AM, <girard@chromium.org> wrote: > > https://codereview.chromium.**org/16950030/diff/13001/ui/** > ...
7 years, 6 months ago (2013-06-26 22:01:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/girard@chromium.org/16950030/20001
7 years, 6 months ago (2013-06-26 22:38:40 UTC) #11
commit-bot: I haz the power
7 years, 6 months ago (2013-06-27 09:08:09 UTC) #12
Message was sent while issue was closed.
Change committed as 208866

Powered by Google App Engine
This is Rietveld 408576698