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

Issue 2224653002: mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE (Closed)

Created:
4 years, 4 months ago by James Cook
Modified:
4 years, 4 months ago
Reviewers:
msw, sadrul
CC:
chromium-reviews, kalyank, sadrul, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE ShelfGestureHandler uses aura windows and is a dependency of ShelfView. We're moving ShelfView to wm common types. * Fold ShelfGestureHandler into ShelfLayoutManager. * Eliminate the event_target_window parameter from ProcessGestureEvent because the shelf can look up its own root window. * Eliminate unused ui::ET_GESTURE_WIN8_EDGE_SWIPE which existed to support these gestures. BUG=629252, 635130 TEST=ash_unittests, manual tests of shelf gesture show/hide behavior Committed: https://crrev.com/4d2dc47191a1fd200254a6b53b5d1e8f0fe49de6 Cr-Commit-Position: refs/heads/master@{#410416}

Patch Set 1 #

Patch Set 2 : trial run #

Patch Set 3 : cleanup, fix windows #

Total comments: 8

Patch Set 4 : review comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -432 lines) Patch
M ash/ash.gyp View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ash/aura/wm_shelf_aura.h View 1 3 chunks +1 line, -6 lines 0 comments Download
M ash/aura/wm_shelf_aura.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 1 1 chunk +4 lines, -5 lines 0 comments Download
M ash/common/system/status_area_widget_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M ash/shelf/shelf_bezel_event_filter.h View 1 3 chunks +8 lines, -5 lines 0 comments Download
M ash/shelf/shelf_bezel_event_filter.cc View 1 3 chunks +9 lines, -6 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 1 2 3 4 chunks +14 lines, -9 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 4 5 chunks +128 lines, -103 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 1 1 chunk +0 lines, -102 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 2 chunks +0 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
D ash/wm/gestures/shelf_gesture_handler.h View 1 1 chunk +0 lines, -46 lines 0 comments Download
M ash/wm/gestures/shelf_gesture_handler.cc View 1 1 chunk +0 lines, -79 lines 0 comments Download
M ash/wm/immersive_fullscreen_controller.cc View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download
M ash/wm/system_gesture_event_filter.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ash/wm/system_gesture_event_filter.cc View 1 3 chunks +1 line, -10 lines 0 comments Download
M ui/events/event.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/events/event.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/events/event_constants.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/events/gesture_detection/gesture_touch_uma_histogram.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gesture_detection/gesture_touch_uma_histogram.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/events/test/event_generator.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/test/event_generator.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M ui/wm/core/compound_event_filter.cc View 1 2 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
James Cook
msw, please take a look. https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc#newcode1129 ash/shelf/shelf_layout_manager.cc:1129: void ShelfLayoutManager::StartGestureDrag(const ui::GestureEvent& gesture) ...
4 years, 4 months ago (2016-08-05 23:27:07 UTC) #7
msw
lgtm with minor comment nits (feel free to ignore) https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc#newcode370 ash/shelf/shelf_layout_manager.cc:370: ...
4 years, 4 months ago (2016-08-05 23:48:49 UTC) #8
James Cook
Thanks! https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2224653002/diff/40001/ash/shelf/shelf_layout_manager.cc#newcode370 ash/shelf/shelf_layout_manager.cc:370: if (ProcessGestureEvent(*event)) On 2016/08/05 23:48:49, msw wrote: > ...
4 years, 4 months ago (2016-08-05 23:55:17 UTC) #10
James Cook
sadrul, can I get OWNERS for deleting some unused code in //ui/events ?
4 years, 4 months ago (2016-08-05 23:55:43 UTC) #13
sadrul
lgtm. Thanks for cleaning this up!
4 years, 4 months ago (2016-08-06 00:02:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224653002/80001
4 years, 4 months ago (2016-08-08 17:40:06 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-08 20:11:10 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:13:23 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4d2dc47191a1fd200254a6b53b5d1e8f0fe49de6
Cr-Commit-Position: refs/heads/master@{#410416}

Powered by Google App Engine
This is Rietveld 408576698