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

Issue 2227143003: mash: Move AutoHideEventHandler to WmShelfAura. (Closed)

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

Description

mash: Move AutoHideEventHandler to WmShelfAura. Manage an AutoHideEventHandler instance in WmShelfAura. Send the target window to UpdateAutoHideFor*Event. Move in_mouse_drag_ to ShelfLayoutManager. Remove WmShelf::UpdateAutoHideFor*Event helpers. Remove shelf/status Widget event handler overrides. (this disables auto-hide for mash, needs implementation) (partly reverts https://codereview.chromium.org/2109193002) BUG=615155, 621112, 631216 TEST=Automated; no auto-hide changes in non-mash ChromeOS. R=jamescook@chromium.org Committed: https://crrev.com/e2dd2245e3707d5ff18b3186192f00253c04598f Cr-Commit-Position: refs/heads/master@{#410813}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 9

Patch Set 3 : Address comment. #

Patch Set 4 : Sync and rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -147 lines) Patch
M ash/aura/wm_shelf_aura.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M ash/aura/wm_shelf_aura.cc View 1 4 chunks +39 lines, -12 lines 0 comments Download
M ash/common/shelf/wm_shelf.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/common/system/status_area_widget.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/common/system/status_area_widget.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/mus/bridge/wm_shelf_mus.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 5 chunks +8 lines, -11 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 8 chunks +20 lines, -78 lines 0 comments Download
M ash/shelf/shelf_widget.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 3 2 chunks +0 lines, -13 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
msw
Hey James, please take a look; thanks!
4 years, 4 months ago (2016-08-09 19:17:51 UTC) #3
James Cook
A couple questions. https://codereview.chromium.org/2227143003/diff/20001/ash/common/shelf/wm_shelf.h File ash/common/shelf/wm_shelf.h (left): https://codereview.chromium.org/2227143003/diff/20001/ash/common/shelf/wm_shelf.h#oldcode17 ash/common/shelf/wm_shelf.h:17: class MouseEvent; You're so good about ...
4 years, 4 months ago (2016-08-09 19:47:58 UTC) #7
msw
Please take another look; thanks! https://codereview.chromium.org/2227143003/diff/20001/ash/common/shelf/wm_shelf.h File ash/common/shelf/wm_shelf.h (left): https://codereview.chromium.org/2227143003/diff/20001/ash/common/shelf/wm_shelf.h#oldcode17 ash/common/shelf/wm_shelf.h:17: class MouseEvent; On 2016/08/09 ...
4 years, 4 months ago (2016-08-09 19:52:58 UTC) #8
James Cook
LGTM https://codereview.chromium.org/2227143003/diff/20001/ash/shelf/shelf_layout_manager.cc File ash/shelf/shelf_layout_manager.cc (right): https://codereview.chromium.org/2227143003/diff/20001/ash/shelf/shelf_layout_manager.cc#newcode934 ash/shelf/shelf_layout_manager.cc:934: if (in_mouse_drag_) On 2016/08/09 19:52:58, msw wrote: > ...
4 years, 4 months ago (2016-08-09 19:54:29 UTC) #9
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/2227143003/40001
4 years, 4 months ago (2016-08-09 19:56:53 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/109463) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 4 months ago (2016-08-09 20:00:52 UTC) #13
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/2227143003/60001
4 years, 4 months ago (2016-08-09 20:07:05 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-09 20:53:50 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 20:57:10 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e2dd2245e3707d5ff18b3186192f00253c04598f
Cr-Commit-Position: refs/heads/master@{#410813}

Powered by Google App Engine
This is Rietveld 408576698