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

Issue 2684723003: Remove LauncherItemController::Launch, cleanup. (Closed)

Created:
3 years, 10 months ago by msw
Modified:
3 years, 10 months ago
Reviewers:
James Cook, khmel, stevenjb
CC:
chromium-reviews, kalyank, sadrul, Matt Giuca, tfarina, khmel, stevenjb, antognolli
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove LauncherItemController::Launch, cleanup. Inline the common implementation in ChromeLauncherController. (avoid roundabout calls between the item delegate and controller) (helps ShelfItemDelegate support ash<->chrome mojo apis for mash) Also consolidate LaunchAppWithLaunchId and LaunchApp. BUG=557406 TEST=Automated; no behavior changes when selecting chrome os shelf items. R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2684723003 Cr-Commit-Position: refs/heads/master@{#449193} Committed: https://chromium.googlesource.com/chromium/src/+/6c8f3be195f6688a8ee21bf6d982703d191335b3

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 5

Patch Set 3 : Rebase #

Patch Set 4 : Use AppLauncherId #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -100 lines) Patch
M chrome/browser/ui/ash/app_list/app_list_controller_ash.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc View 1 2 3 1 chunk +14 lines, -22 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 1 chunk +2 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 3 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_mus.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_controller_helper.h View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_controller_helper.cc View 1 2 3 3 chunks +6 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_item_controller.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
msw
Hey James, please take a look; thanks!
3 years, 10 months ago (2017-02-08 02:16:15 UTC) #4
James Cook
Direction looks good. You might want to mention mash/mustash as a motivating factor in the ...
3 years, 10 months ago (2017-02-08 17:37:00 UTC) #7
khmel
https://codereview.chromium.org/2684723003/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller.h (right): https://codereview.chromium.org/2684723003/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h#newcode141 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h:141: const std::string& launch_id, On 2017/02/08 17:37:00, James Cook wrote: ...
3 years, 10 months ago (2017-02-08 17:41:27 UTC) #9
stevenjb
cc:rafael.antognolli@intel.com FYI. This should not interfere with ongoing launcher id work.
3 years, 10 months ago (2017-02-08 18:06:46 UTC) #11
msw
Done, please take another look; thanks. https://codereview.chromium.org/2684723003/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller.h (right): https://codereview.chromium.org/2684723003/diff/20001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h#newcode141 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h:141: const std::string& launch_id, ...
3 years, 10 months ago (2017-02-09 00:42:00 UTC) #20
stevenjb
lgtm
3 years, 10 months ago (2017-02-09 00:56:54 UTC) #23
James Cook
LGTM. I wish ash::launcher::AppLauncherId wasn't in namespace launcher, but that shouldn't block this CL.
3 years, 10 months ago (2017-02-09 01:29:28 UTC) #26
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/2684723003/100001
3 years, 10 months ago (2017-02-09 02:27:55 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 02:34:26 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/6c8f3be195f6688a8ee21bf6d982...

Powered by Google App Engine
This is Rietveld 408576698