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

Issue 23622020: Fixing the dynamic positioning (move with anchor) for the app launcher (Closed)

Created:
7 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, msw+watch_chromium.org, sadrul, ben+watch_chromium.org, tfarina, alicet1
Visibility:
Public.

Description

Fixing the dynamic positioning (move with anchor) for the app launcher The problem was that the positioning was done before it was shown and the move_with_anchor didn't work since there was no anchor. Changed it now to use an anchor offset. BUG=284780 TEST=unittest (partial), visually [(RTL and LTR) x (left, right, bottom aligned) x (always visible, sliding into view, hidden)] Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222191

Patch Set 1 #

Patch Set 2 : Added unit test #

Total comments: 8

Patch Set 3 : Addressed #

Total comments: 10

Patch Set 4 : Addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -109 lines) Patch
M ash/wm/app_list_controller.cc View 1 2 3 4 chunks +22 lines, -34 lines 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 3 2 chunks +22 lines, -7 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 2 chunks +84 lines, -62 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years, 3 months ago (2013-09-05 18:40:20 UTC) #1
James Cook
https://codereview.chromium.org/23622020/diff/2001/ash/wm/app_list_controller.cc File ash/wm/app_list_controller.cc (left): https://codereview.chromium.org/23622020/diff/2001/ash/wm/app_list_controller.cc#oldcode45 ash/wm/app_list_controller.cc:45: const int kArrowTipHeight = 10; Nice that you found ...
7 years, 3 months ago (2013-09-05 20:05:17 UTC) #2
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/23622020/diff/2001/ash/wm/app_list_controller.cc File ash/wm/app_list_controller.cc (left): https://codereview.chromium.org/23622020/diff/2001/ash/wm/app_list_controller.cc#oldcode45 ash/wm/app_list_controller.cc:45: const int kArrowTipHeight = 10; ...
7 years, 3 months ago (2013-09-05 20:52:00 UTC) #3
James Cook
lgtm
7 years, 3 months ago (2013-09-05 21:58:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/23622020/9001
7 years, 3 months ago (2013-09-05 22:59:39 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=24053
7 years, 3 months ago (2013-09-05 23:14:54 UTC) #6
Mr4D (OOO till 08-26)
@msw, @xiyuan: Could you please do an owners review? Many thanks in advance!
7 years, 3 months ago (2013-09-05 23:18:18 UTC) #7
xiyuan
Is the anchor offset used to adjust the app launcher bubble to be inside the ...
7 years, 3 months ago (2013-09-06 00:57:40 UTC) #8
xiyuan
Talked with Mr4D offline. This is needed because the UI design has specific requirements for ...
7 years, 3 months ago (2013-09-06 04:34:53 UTC) #9
msw
I suspect that you can accomplish the same thing with the existing |anchor_view_insets_| and it ...
7 years, 3 months ago (2013-09-06 16:31:59 UTC) #10
Mr4D (OOO till 08-26)
Addressed: Added the Vector2d, removed BubbleDelegate changes as requested. Sidenote: I am not really a ...
7 years, 3 months ago (2013-09-06 17:57:31 UTC) #11
Mr4D (OOO till 08-26)
-msw (since not needed anymore) +benwells since I need an owners review
7 years, 3 months ago (2013-09-06 18:00:29 UTC) #12
msw
On 2013/09/06 17:57:31, Mr4D wrote: > Addressed: Added the Vector2d, removed BubbleDelegate changes as requested. ...
7 years, 3 months ago (2013-09-06 18:18:41 UTC) #13
Mr4D (OOO till 08-26)
Since benwells is travelling, maybe koz can have a quick look at the owners review? ...
7 years, 3 months ago (2013-09-08 16:01:05 UTC) #14
benwells
lgtm
7 years, 3 months ago (2013-09-09 15:11:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/23622020/47001
7 years, 3 months ago (2013-09-09 15:30:20 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-09 15:38:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/23622020/47001
7 years, 3 months ago (2013-09-09 16:29:14 UTC) #18
commit-bot: I haz the power
7 years, 3 months ago (2013-09-10 02:43:08 UTC) #19
Message was sent while issue was closed.
Change committed as 222191

Powered by Google App Engine
This is Rietveld 408576698