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

Issue 14533006: Drag and drop between app list and launcher - First patch (Closed)

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

Description

This is the first of two patches to drag and drop items from the app list to the launcher. Everything basically works with this patch, but two essential things are still missing: 1. The icon which gets dragged should get its own widget so that it can get visually dragged outside the app list. 2. The unit tests. They will be send as a second patch because of: a. The patch is already pretty big as it is. b. I want to make get this "signed off" before continuing this route. BUG=166429 TEST=visual, tests come with second patch Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199016

Patch Set 1 #

Total comments: 32

Patch Set 2 : Addressed #

Patch Set 3 : Fixed merge problems with ... a patch I landed myself. #

Patch Set 4 : Another merge conflict. Wonder why I was able to compile though. #

Total comments: 4

Patch Set 5 : Adressed nits (and a broken unit test and a git hiccup) #

Total comments: 4

Patch Set 6 : addressed #

Total comments: 2

Patch Set 7 : Merged & addressed #

Total comments: 10

Patch Set 8 : Addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -41 lines) Patch
M ash/ash_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M ash/launcher/launcher_button_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/launcher/launcher_delegate.h View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M ash/launcher/launcher_view.h View 1 4 chunks +21 lines, -1 line 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 4 5 6 7 4 chunks +110 lines, -24 lines 1 comment Download
M ash/shell.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M ash/shell/launcher_delegate_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell/launcher_delegate_impl.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M ash/test/test_launcher_delegate.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/test/test_launcher_delegate.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M ash/wm/app_list_controller.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M ash/wm/app_list_controller.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/app_list_item_model.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
A ui/app_list/views/app_list_drag_and_drop_host.h View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download
M ui/app_list/views/apps_grid_view.h View 1 2 3 4 5 6 7 4 chunks +18 lines, -3 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 4 5 6 7 8 chunks +52 lines, -3 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 4 5 6 2 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Mr4D (OOO till 08-26)
This is the first of 2 patches. Please see the description of this patch for ...
7 years, 7 months ago (2013-04-29 15:47:06 UTC) #1
James Cook
On 2013/04/29 15:47:06, Mr4D wrote: > This is the first of 2 patches. Please see ...
7 years, 7 months ago (2013-04-29 17:39:42 UTC) #2
James Cook
Overall approach seems reasonable, some comments. https://codereview.chromium.org/14533006/diff/1/ash/ash_switches.h File ash/ash_switches.h (right): https://codereview.chromium.org/14533006/diff/1/ash/ash_switches.h#newcode35 ash/ash_switches.h:35: ASH_EXPORT extern const ...
7 years, 7 months ago (2013-04-29 22:08:29 UTC) #3
Mr4D (OOO till 08-26)
Addressed. Please have another look! https://codereview.chromium.org/14533006/diff/1/ash/ash_switches.h File ash/ash_switches.h (right): https://codereview.chromium.org/14533006/diff/1/ash/ash_switches.h#newcode35 ash/ash_switches.h:35: ASH_EXPORT extern const char ...
7 years, 7 months ago (2013-04-30 16:59:00 UTC) #4
James Cook
LGTM with nit https://codereview.chromium.org/14533006/diff/15007/ui/app_list/views/app_list_drag_and_drop_host.h File ui/app_list/views/app_list_drag_and_drop_host.h (right): https://codereview.chromium.org/14533006/diff/15007/ui/app_list/views/app_list_drag_and_drop_host.h#newcode10 ui/app_list/views/app_list_drag_and_drop_host.h:10: #include "ui/gfx/point.h" No need to fix ...
7 years, 7 months ago (2013-04-30 18:03:00 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/14533006/36001
7 years, 7 months ago (2013-04-30 18:11:24 UTC) #6
Mr4D (OOO till 08-26)
Addressed. Ben, I was moving you to the CC list since I am not sure ...
7 years, 7 months ago (2013-04-30 18:22:47 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/14533006/39001
7 years, 7 months ago (2013-04-30 18:23:23 UTC) #8
Mr4D (OOO till 08-26)
It turns out that there was a good reason to include benwells: You are the ...
7 years, 7 months ago (2013-04-30 18:28:23 UTC) #9
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=476
7 years, 7 months ago (2013-04-30 18:32:41 UTC) #10
benwells
I haven't looked though all the code yet, but I want to check I understand ...
7 years, 7 months ago (2013-05-02 06:40:05 UTC) #11
Mr4D (OOO till 08-26)
Hey Ben, since this might not be suitable for Windows & it is not ready ...
7 years, 7 months ago (2013-05-02 21:15:23 UTC) #12
Mr4D (OOO till 08-26)
On Wed, May 1, 2013 at 11:40 PM, <benwells@chromium.org> wrote: > I haven't looked though ...
7 years, 7 months ago (2013-05-02 21:16:16 UTC) #13
Mr4D (OOO till 08-26)
That is great. In the past gMail was - when clicking "Reply" only sending to ...
7 years, 7 months ago (2013-05-02 21:18:33 UTC) #14
Mr4D (OOO till 08-26)
Uploaded - but lets discuss! https://codereview.chromium.org/14533006/diff/39001/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): https://codereview.chromium.org/14533006/diff/39001/chrome/browser/ui/app_list/extension_app_item.cc#newcode213 chrome/browser/ui/app_list/extension_app_item.cc:213: SetAppId(extension->id()); On 2013/05/02 06:40:05, ...
7 years, 7 months ago (2013-05-03 00:23:17 UTC) #15
koz (OOO until 15th September)
drive-by https://codereview.chromium.org/14533006/diff/51001/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): https://codereview.chromium.org/14533006/diff/51001/chrome/browser/ui/app_list/extension_app_item.cc#newcode208 chrome/browser/ui/app_list/extension_app_item.cc:208: set_app_id(extension->id()); This should be set_app_id(extension_id_) as extension may ...
7 years, 7 months ago (2013-05-03 01:19:51 UTC) #16
Mr4D (OOO till 08-26)
Addressed (and merged)! Please have another look! https://codereview.chromium.org/14533006/diff/51001/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): https://codereview.chromium.org/14533006/diff/51001/chrome/browser/ui/app_list/extension_app_item.cc#newcode208 chrome/browser/ui/app_list/extension_app_item.cc:208: set_app_id(extension->id()); On ...
7 years, 7 months ago (2013-05-07 04:31:01 UTC) #17
koz (OOO until 15th September)
https://codereview.chromium.org/14533006/diff/58001/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/14533006/diff/58001/ash/ash_switches.cc#newcode144 ash/ash_switches.cc:144: nit: stray newline? https://codereview.chromium.org/14533006/diff/58001/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): https://codereview.chromium.org/14533006/diff/58001/ash/launcher/launcher_view.cc#newcode531 ash/launcher/launcher_view.cc:531: ...
7 years, 7 months ago (2013-05-08 02:00:38 UTC) #18
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/14533006/diff/58001/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/14533006/diff/58001/ash/ash_switches.cc#newcode144 ash/ash_switches.cc:144: On 2013/05/08 02:00:39, koz wrote: ...
7 years, 7 months ago (2013-05-08 02:53:34 UTC) #19
koz (OOO until 15th September)
lgtm
7 years, 7 months ago (2013-05-08 03:16:36 UTC) #20
benwells
On 2013/05/08 03:16:36, koz wrote: > lgtm stampy lgtm
7 years, 7 months ago (2013-05-08 04:03:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/14533006/71001
7 years, 7 months ago (2013-05-08 14:15:14 UTC) #22
xiyuan
https://codereview.chromium.org/14533006/diff/71001/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): https://codereview.chromium.org/14533006/diff/71001/ash/launcher/launcher_view.cc#newcode1445 ash/launcher/launcher_view.cc:1445: Shell::GetInstance()->SetDragAndDropHostOfCurrentAppList(this); What happens if app list is invoked via ...
7 years, 7 months ago (2013-05-08 16:43:47 UTC) #23
commit-bot: I haz the power
List of reviewers changed. xiyuan@chromium.org did a drive-by without LGTM'ing!
7 years, 7 months ago (2013-05-08 20:58:54 UTC) #24
xiyuan
LGTM per offline discussion. The issue will be addressed separately.
7 years, 7 months ago (2013-05-08 21:06:35 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/14533006/71001
7 years, 7 months ago (2013-05-08 21:27:11 UTC) #26
commit-bot: I haz the power
7 years, 7 months ago (2013-05-08 21:40:09 UTC) #27
Message was sent while issue was closed.
Change committed as 199016

Powered by Google App Engine
This is Rietveld 408576698