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

Issue 24011002: Repositioning of the dimmer overlay when the shelf gets only moved and not resized. (Closed)

Created:
7 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
7 years, 3 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Repositioning of the dimmer overlay when the shelf gets only moved and not resized. The "dimmer" cannot be parented by the shelf, but it needs to overlay it. The existing OnBoundsChanged call will only detect size changes since the position relatively to its parent never changes. Therefore the shelf's window needs to be observed as well to get absolute location changes. BUG=285415 TEST=visual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221804

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changed comments #

Patch Set 3 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M ash/shelf/shelf_widget.cc View 1 2 5 chunks +28 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years, 3 months ago (2013-09-05 22:56:57 UTC) #1
James Cook
lgtm with nits https://codereview.chromium.org/24011002/diff/1/ash/shelf/shelf_widget.cc File ash/shelf/shelf_widget.cc (right): https://codereview.chromium.org/24011002/diff/1/ash/shelf/shelf_widget.cc#newcode279 ash/shelf/shelf_widget.cc:279: // aura::WindowObserver overrides. tiny nit: "overrides:" ...
7 years, 3 months ago (2013-09-05 23:41:00 UTC) #2
Mr4D (OOO till 08-26)
Addressed! Many thanks! https://codereview.chromium.org/24011002/diff/1/ash/shelf/shelf_widget.cc File ash/shelf/shelf_widget.cc (right): https://codereview.chromium.org/24011002/diff/1/ash/shelf/shelf_widget.cc#newcode279 ash/shelf/shelf_widget.cc:279: // aura::WindowObserver overrides. Done https://codereview.chromium.org/24011002/diff/1/ash/shelf/shelf_widget.cc#newcode450 ash/shelf/shelf_widget.cc:450: ...
7 years, 3 months ago (2013-09-05 23:47:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/24011002/6001
7 years, 3 months ago (2013-09-05 23:49:18 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=151914
7 years, 3 months ago (2013-09-06 01:02:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/24011002/6001
7 years, 3 months ago (2013-09-06 03:11:55 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=151963
7 years, 3 months ago (2013-09-06 04:13:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/24011002/43001
7 years, 3 months ago (2013-09-06 16:24:37 UTC) #8
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=76274
7 years, 3 months ago (2013-09-06 19:54:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/24011002/43001
7 years, 3 months ago (2013-09-06 20:09:21 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 22:48:47 UTC) #11
Message was sent while issue was closed.
Change committed as 221804

Powered by Google App Engine
This is Rietveld 408576698