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

Issue 9808026: Layout panels on top of their launcher icons (Closed)

Created:
8 years, 9 months ago by Dmitry Lomov (no reviews)
Modified:
8 years, 7 months ago
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Panels at launcher

Patch Set 1 #

Patch Set 2 : Patch #

Patch Set 3 : Initial patch #

Patch Set 4 : Added a file #

Patch Set 5 : Ununsed constanrs removed #

Total comments: 16

Patch Set 6 : New version #

Patch Set 7 : Patch for review #

Total comments: 22

Patch Set 8 : CR feedback #

Total comments: 6

Patch Set 9 : CR feedback #

Patch Set 10 : Pre-patch with tests #

Total comments: 1

Patch Set 11 : Patch with tests #

Total comments: 12

Patch Set 12 : Attempt at LauncherViewTest #

Total comments: 12

Patch Set 13 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -52 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 12 2 chunks +3 lines, -0 lines 0 comments Download
M ash/launcher/launcher.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M ash/launcher/launcher.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
A ash/launcher/launcher_icon_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +22 lines, -0 lines 0 comments Download
M ash/launcher/launcher_view.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +11 lines, -0 lines 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 4 5 6 7 8 9 10 12 8 chunks +21 lines, -7 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 4 chunks +19 lines, -12 lines 0 comments Download
M ash/shell/window_watcher.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ash/shell/window_watcher.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
A ash/test/test_launcher_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +64 lines, -0 lines 0 comments Download
A ash/test/test_launcher_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +91 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/panel_layout_manager.h View 1 2 3 4 5 6 7 5 chunks +10 lines, -1 line 0 comments Download
M ash/wm/panel_layout_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +31 lines, -20 lines 0 comments Download
M ash/wm/panel_layout_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +22 lines, -9 lines 0 comments Download

Messages

Total messages: 57 (0 generated)
Dmitry Lomov (no reviews)
Hi folks, could you take a look? This is not final, requires at least hooking ...
8 years, 9 months ago (2012-03-23 20:10:21 UTC) #1
Dmitry Lomov (no reviews)
Some unused constants remoced
8 years, 9 months ago (2012-03-23 20:28:19 UTC) #2
sky
How come chromium-reviews isn't cc'd? https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_view.cc#newcode349 ash/launcher/launcher_view.cc:349: OnLauncherIconPositionsChanged()); What is it ...
8 years, 9 months ago (2012-03-23 20:33:11 UTC) #3
Dmitry Lomov (no reviews)
https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_view.cc#newcode349 ash/launcher/launcher_view.cc:349: OnLauncherIconPositionsChanged()); On 2012/03/23 20:33:12, sky wrote: > What is ...
8 years, 9 months ago (2012-03-23 20:35:59 UTC) #4
sky
On 2012/03/23 20:35:59, Dmitry Lomov (chromium) wrote: > https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_view.cc > File ash/launcher/launcher_view.cc (right): > > ...
8 years, 9 months ago (2012-03-23 21:19:07 UTC) #5
Dmitry Lomov (no reviews)
On 2012/03/23 21:19:07, sky wrote: > On 2012/03/23 20:35:59, Dmitry Lomov (chromium) wrote: > > ...
8 years, 9 months ago (2012-03-23 21:23:05 UTC) #6
sky
https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher.cc File ash/launcher/launcher.cc (right): https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher.cc#newcode192 ash/launcher/launcher.cc:192: void Launcher::AddIconsObserver(LauncherIconsObserver* observer) { Fix the order to match ...
8 years, 9 months ago (2012-03-23 21:41:14 UTC) #7
Dmitry Lomov (no reviews)
Thanks for taking a look. I'll address the the stuff I didn't reply to later ...
8 years, 9 months ago (2012-03-23 22:34:38 UTC) #8
Dmitry Lomov (no reviews)
(a bit more on Launcher(Icon|View)Observer https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_icons_observer.h File ash/launcher/launcher_icons_observer.h (right): https://chromiumcodereview.appspot.com/9808026/diff/1011/ash/launcher/launcher_icons_observer.h#newcode12 ash/launcher/launcher_icons_observer.h:12: class ASH_EXPORT LauncherIconsObserver { ...
8 years, 9 months ago (2012-03-23 22:40:35 UTC) #9
Dmitry Lomov (no reviews)
Pre-code-review comments adderessed. Please take a look. I decided to make hook up to chrome ...
8 years, 8 months ago (2012-04-03 18:43:02 UTC) #10
sky
How about some tests? https://chromiumcodereview.appspot.com/9808026/diff/9014/ash/launcher/launcher.h File ash/launcher/launcher.h (right): https://chromiumcodereview.appspot.com/9808026/diff/9014/ash/launcher/launcher.h#newcode33 ash/launcher/launcher.h:33: class LauncherIconsObserver; Name this class ...
8 years, 8 months ago (2012-04-03 20:39:36 UTC) #11
Dmitry Lomov (no reviews)
Some comments. I'll see what I can do w.r.t tests. One problem is that we ...
8 years, 8 months ago (2012-04-03 20:50:07 UTC) #12
sky
Also, this won't pick up changes when auto-hide kicks in. I mentioned this to Steven ...
8 years, 8 months ago (2012-04-03 20:57:18 UTC) #13
stevenjb
http://codereview.chromium.org/9808026/diff/9014/ash/wm/panel_layout_manager.cc File ash/wm/panel_layout_manager.cc (right): http://codereview.chromium.org/9808026/diff/9014/ash/wm/panel_layout_manager.cc#newcode183 ash/wm/panel_layout_manager.cc:183: if (icon_rect.width() == 0 && icon_rect.height() == 0) I ...
8 years, 8 months ago (2012-04-03 20:59:28 UTC) #14
Dmitry Lomov (no reviews)
http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h File ash/launcher/launcher.h (right): http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h#newcode33 ash/launcher/launcher.h:33: class LauncherIconsObserver; On 2012/04/03 20:57:18, sky wrote: > On ...
8 years, 8 months ago (2012-04-03 21:18:23 UTC) #15
sky
On Tue, Apr 3, 2012 at 2:18 PM, <dslomov@chromium.org> wrote: > > http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h > File ...
8 years, 8 months ago (2012-04-03 21:27:21 UTC) #16
Dmitry Lomov
On Tue, Apr 3, 2012 at 2:27 PM, Scott Violet <sky@chromium.org> wrote: > On Tue, ...
8 years, 8 months ago (2012-04-03 21:34:51 UTC) #17
stevenjb
http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h File ash/launcher/launcher.h (right): http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h#newcode33 ash/launcher/launcher.h:33: class LauncherIconsObserver; On 2012/04/03 21:18:23, Dmitry Lomov (chromium) wrote: ...
8 years, 8 months ago (2012-04-03 22:09:29 UTC) #18
Dmitry Lomov
On Tue, Apr 3, 2012 at 3:09 PM, <stevenjb@chromium.org> wrote: > > http://codereview.chromium.**org/9808026/diff/9014/ash/** > launcher/launcher.h<http://codereview.chromium.org/9808026/diff/9014/ash/launcher/launcher.h> ...
8 years, 8 months ago (2012-04-03 23:12:51 UTC) #19
beng (no_code_reviews)
On Tue, Apr 3, 2012 at 4:12 PM, Dmitry Lomov <dslomov@google.com> wrote: > I have ...
8 years, 8 months ago (2012-04-04 16:18:37 UTC) #20
Dmitry Lomov
On Wed, Apr 4, 2012 at 9:18 AM, Ben Goodger <beng@google.com> wrote: > On Tue, ...
8 years, 8 months ago (2012-04-05 02:16:58 UTC) #21
Dmitry Lomov (no reviews)
PTAL
8 years, 8 months ago (2012-04-05 03:35:28 UTC) #22
stevenjb
https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/launcher/launcher_view.h File ash/launcher/launcher_view.h (right): https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/launcher/launcher_view.h#newcode69 ash/launcher/launcher_view.h:69: nit: single blank line here https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/shell.h File ash/shell.h (right): ...
8 years, 8 months ago (2012-04-05 20:48:47 UTC) #23
Dmitry Lomov (no reviews)
https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/shell.h File ash/shell.h (right): https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/shell.h#newcode327 ash/shell.h:327: // Manages layout of panels. Owned by container of ...
8 years, 8 months ago (2012-04-05 21:17:33 UTC) #24
stevenjb
lgtm https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/shell.h File ash/shell.h (right): https://chromiumcodereview.appspot.com/9808026/diff/18001/ash/shell.h#newcode327 ash/shell.h:327: // Manages layout of panels. Owned by container ...
8 years, 8 months ago (2012-04-05 21:22:45 UTC) #25
sky
I see no issues. Where you planning on doing tests now or later?
8 years, 8 months ago (2012-04-05 22:30:05 UTC) #26
Dmitry Lomov (no reviews)
On 2012/04/05 22:30:05, sky wrote: > I see no issues. Where you planning on doing ...
8 years, 8 months ago (2012-04-05 22:51:56 UTC) #27
Ben Goodger (Google)
chrome culture 101: tests now, not later.
8 years, 8 months ago (2012-04-06 01:17:32 UTC) #28
Dmitry Lomov (no reviews)
Fair enough On Apr 5, 2012 6:17 PM, <ben@chromium.org> wrote: > chrome culture 101: tests ...
8 years, 8 months ago (2012-04-06 04:08:23 UTC) #29
stevenjb
For browser_tests, we sometimes have code like this to test with a specific command line ...
8 years, 8 months ago (2012-04-06 20:52:52 UTC) #30
Dmitry Lomov
On Fri, Apr 6, 2012 at 1:52 PM, <stevenjb@chromium.org> wrote: > For browser_tests, we sometimes ...
8 years, 8 months ago (2012-04-06 21:44:22 UTC) #31
Dmitry Lomov (no reviews)
On Fri, Apr 6, 2012 at 2:44 PM, Dmitry Lomov <dslomov@google.com> wrote: > > > ...
8 years, 8 months ago (2012-04-06 21:50:41 UTC) #32
Dmitry Lomov (no reviews)
Here is an attempt at tests (unfinished). I run into the issue below - suggestions ...
8 years, 8 months ago (2012-04-10 19:13:22 UTC) #33
sky
Will panels trigger code that needs to know the bounds of the launcher item on ...
8 years, 8 months ago (2012-04-10 20:38:33 UTC) #34
Dmitry Lomov (no reviews)
On Tue, Apr 10, 2012 at 1:38 PM, Scott Violet <sky@chromium.org> wrote: > Will panels ...
8 years, 8 months ago (2012-04-10 20:50:21 UTC) #35
sky
On Tue, Apr 10, 2012 at 1:50 PM, Dmitry Lomov <dslomov@chromium.org> wrote: > > > ...
8 years, 8 months ago (2012-04-10 23:09:03 UTC) #36
Dmitry Lomov (no reviews)
On Tue, Apr 10, 2012 at 4:09 PM, Scott Violet <sky@chromium.org> wrote: > On Tue, ...
8 years, 8 months ago (2012-04-10 23:32:49 UTC) #37
sky
On Tue, Apr 10, 2012 at 4:32 PM, Dmitry Lomov <dslomov@chromium.org> wrote: > > > ...
8 years, 8 months ago (2012-04-10 23:56:11 UTC) #38
Dmitry Lomov
On Tue, Apr 10, 2012 at 4:56 PM, Scott Violet <sky@chromium.org> wrote: > On Tue, ...
8 years, 8 months ago (2012-04-11 00:08:12 UTC) #39
Dmitry Lomov (no reviews)
PTAL. Now has tests (also includes test implementation of LauncherDelegate)
8 years, 8 months ago (2012-04-11 01:25:54 UTC) #40
sky
Can you also add assertions that LauncherIconObserver is notified when items are added/removed/moved? https://chromiumcodereview.appspot.com/9808026/diff/38001/ash/launcher/launcher_view.h File ...
8 years, 8 months ago (2012-04-11 15:47:48 UTC) #41
Dmitry Lomov (no reviews)
Thanks for review, I'll fix all the problems. On 2012/04/11 15:47:48, sky wrote: > Can ...
8 years, 8 months ago (2012-04-12 17:55:08 UTC) #42
sky
On Thu, Apr 12, 2012 at 10:55 AM, <dslomov@chromium.org> wrote: > Thanks for review, I'll ...
8 years, 8 months ago (2012-04-12 19:11:25 UTC) #43
Dmitry Lomov (no reviews)
So I tried to add some LauncherView tests. Unfortunately anything but Add fails because of ...
8 years, 8 months ago (2012-04-13 06:14:14 UTC) #44
sky
Make it so the time of the animation can be set for tests. That way ...
8 years, 8 months ago (2012-04-13 15:48:35 UTC) #45
Dmitry Lomov (no reviews)
Hmm ok this is getting hairy. I tried doing this (see that patch below). It ...
8 years, 8 months ago (2012-04-13 16:51:01 UTC) #46
sky
I'm fine with pushing launcherview test to a separate patch, but remove the test from ...
8 years, 8 months ago (2012-04-13 17:32:15 UTC) #47
Dmitry Lomov (no reviews)
One comment below. I'll amend the patch per your review otherwise. https://chromiumcodereview.appspot.com/9808026/diff/39017/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): ...
8 years, 8 months ago (2012-04-13 17:41:04 UTC) #48
Dmitry Lomov (no reviews)
PTAL (removed the ill-fated test :))
8 years, 8 months ago (2012-04-13 18:29:19 UTC) #49
sky
On Fri, Apr 13, 2012 at 10:41 AM, <dslomov@chromium.org> wrote: > One comment below. I'll ...
8 years, 8 months ago (2012-04-13 19:46:35 UTC) #50
Dmitry Lomov
On Fri, Apr 13, 2012 at 12:46 PM, Scott Violet <sky@chromium.org> wrote: > On Fri, ...
8 years, 8 months ago (2012-04-13 19:53:35 UTC) #51
sky
On Fri, Apr 13, 2012 at 12:53 PM, Dmitry Lomov <dslomov@google.com> wrote: > > > ...
8 years, 8 months ago (2012-04-13 20:01:10 UTC) #52
Dmitry Titov
Dmitry Lomov's last day in Google was today... Steven, did you mention today that you'll ...
8 years, 8 months ago (2012-04-13 22:44:50 UTC) #53
sky
Xiyuan needs a small portion of this to fix a bug. So he's incorporating that ...
8 years, 8 months ago (2012-04-13 23:24:43 UTC) #54
stevenjb
Looks like we lost the description with the issue number somewhere along the way, but ...
8 years, 8 months ago (2012-04-16 17:33:41 UTC) #55
dcheng
On 2012/04/16 17:33:41, stevenjb (chromium) wrote: > Looks like we lost the description with the ...
8 years, 8 months ago (2012-04-16 17:52:55 UTC) #56
stevenjb (google-dont-use)
8 years, 8 months ago (2012-04-16 18:40:03 UTC) #57
Probably better off creating a new issue anyway, given how long this one is
already :)
Also you will need to rebase it once Xiyuan's changes from
http://codereview.chromium.**org/10068027<http://codereview.chromium.org/1006...
are
in.

On Mon, Apr 16, 2012 at 10:52 AM, <dcheng@chromium.org> wrote:

> On 2012/04/16 17:33:41, stevenjb (chromium) wrote:
>
>> Looks like we lost the description with the issue number somewhere along
>> the
>> way, but I thought that dcheng@ was going to pick this up?
>>
>
> Yes, I've talked with dimich locally. I'll have to create a new issue
> though,
> unless someone (maruel) can manually change the owner on this issue.
>
>
https://chromiumcodereview.**appspot.com/9808026/<https://chromiumcodereview....
>

Powered by Google App Engine
This is Rietveld 408576698