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

Issue 533323004: Remove RootView::DispatchGestureEvent() (Closed)

Created:
6 years, 3 months ago by tdanderson
Modified:
6 years, 3 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove RootView::DispatchGestureEvent() Remove RootView::DispatchGestureEvent() and instead call up to the unified event processing logic in EventProcessor::OnEventFromSource(). This CL also introduces the virtual method EventProcessor::OnEventProcessingFinished(), which is called when the processing of an event is finished. BUG=404234 TEST=EventProcessorTest.OnEventProcessingFinished Committed: https://crrev.com/a46326caf0eb6a4cb51e26dd9cd811984b392aa8 Cr-Commit-Position: refs/heads/master@{#294249}

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : WIP #

Patch Set 4 : WIP #

Patch Set 5 : WIP #

Patch Set 6 : for review #

Total comments: 5

Patch Set 7 : test added, member name changed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -72 lines) Patch
M ui/events/event_processor.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M ui/events/event_processor.cc View 1 2 3 4 5 2 chunks +11 lines, -6 lines 0 comments Download
M ui/events/event_processor_unittest.cc View 1 2 3 4 5 6 3 chunks +23 lines, -0 lines 0 comments Download
M ui/events/test/test_event_processor.h View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M ui/events/test/test_event_processor.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M ui/views/view_targeter_unittest.cc View 1 2 3 4 5 6 5 chunks +7 lines, -7 lines 0 comments Download
M ui/views/widget/root_view.h View 1 2 3 4 5 6 3 chunks +8 lines, -8 lines 0 comments Download
M ui/views/widget/root_view.cc View 1 2 3 4 5 6 5 chunks +18 lines, -46 lines 0 comments Download
M ui/views/widget/root_view_targeter.cc View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
tdanderson
Sadrul, please take a look!
6 years, 3 months ago (2014-09-09 17:03:58 UTC) #2
tdanderson
https://codereview.chromium.org/533323004/diff/100001/ui/views/widget/root_view.cc File ui/views/widget/root_view.cc (right): https://codereview.chromium.org/533323004/diff/100001/ui/views/widget/root_view.cc#newcode313 ui/views/widget/root_view.cc:313: allow_gesture_event_retargeting_) { I think it would make more sense ...
6 years, 3 months ago (2014-09-09 17:05:05 UTC) #3
sadrul
LGTM https://codereview.chromium.org/533323004/diff/100001/ui/events/event_processor.cc File ui/events/event_processor.cc (right): https://codereview.chromium.org/533323004/diff/100001/ui/events/event_processor.cc#newcode44 ui/events/event_processor.cc:44: if (details.target_destroyed || event->handled()) Can you add a ...
6 years, 3 months ago (2014-09-10 18:15:05 UTC) #4
tdanderson
https://codereview.chromium.org/533323004/diff/100001/ui/events/event_processor.cc File ui/events/event_processor.cc (right): https://codereview.chromium.org/533323004/diff/100001/ui/events/event_processor.cc#newcode44 ui/events/event_processor.cc:44: if (details.target_destroyed || event->handled()) On 2014/09/10 18:15:05, sadrul wrote: ...
6 years, 3 months ago (2014-09-10 20:32:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/533323004/120001
6 years, 3 months ago (2014-09-10 21:02:07 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 3b184d93bab4dc976937938f36f6e39d69035761
6 years, 3 months ago (2014-09-10 22:50:50 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 22:59:34 UTC) #11
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a46326caf0eb6a4cb51e26dd9cd811984b392aa8
Cr-Commit-Position: refs/heads/master@{#294249}

Powered by Google App Engine
This is Rietveld 408576698