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

Issue 2917013002: mash: Move ShelfModel* to ash/public/cpp. (Closed)

Created:
3 years, 6 months ago by msw
Modified:
3 years, 6 months ago
CC:
chromium-reviews, kalyank, tfarina, sadrul, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Move ShelfModel* to ash/public/cpp. ShelfModel and its observer are used by Chrome. Move files to support the dependency correctly. Set the AppListItem in ShelfController, not ShelfModel. (avoids an ash/public/cpp dependency on ash/strings) BUG=557406 TEST=NONE R=jamescook@chromium.org TBR=rockot@chromium.org Review-Url: https://codereview.chromium.org/2917013002 Cr-Commit-Position: refs/heads/master@{#476769} Committed: https://chromium.googlesource.com/chromium/src/+/109806d8e01bfe430b3305bd66c866b1029d19c0

Patch Set 1 #

Patch Set 2 : Cleanup. #

Patch Set 3 : Initialize the AppList item title in ShelfController. #

Total comments: 2

Patch Set 4 : Comment on AppList item init. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -917 lines) Patch
M ash/BUILD.gn View 2 chunks +0 lines, -4 lines 0 comments Download
M ash/metrics/user_metrics_recorder.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/metrics/user_metrics_recorder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/public/cpp/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
A + ash/public/cpp/shelf_model.h View 3 chunks +6 lines, -7 lines 0 comments Download
A + ash/public/cpp/shelf_model.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
A + ash/public/cpp/shelf_model_observer.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + ash/public/cpp/shelf_model_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/shelf/app_list_shelf_item_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_controller.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/shelf/shelf_controller.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M ash/shelf/shelf_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D ash/shelf/shelf_model.h View 1 chunk +0 lines, -113 lines 0 comments Download
D ash/shelf/shelf_model.cc View 1 chunk +0 lines, -264 lines 0 comments Download
D ash/shelf/shelf_model_observer.h View 1 chunk +0 lines, -43 lines 0 comments Download
D ash/shelf/shelf_model_unittest.cc View 1 chunk +0 lines, -432 lines 0 comments Download
M ash/shelf/shelf_tooltip_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/shelf/shelf_window_watcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_window_watcher_item_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_window_watcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/window_watcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/shelf_view_test_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/system_gesture_event_filter_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (17 generated)
msw
Hey James, please take a look; thanks!
3 years, 6 months ago (2017-06-02 00:35:22 UTC) #2
James Cook
LGTM https://codereview.chromium.org/2917013002/diff/40001/ash/public/cpp/shelf_model.cc File ash/public/cpp/shelf_model.cc (right): https://codereview.chromium.org/2917013002/diff/40001/ash/public/cpp/shelf_model.cc#newcode52 ash/public/cpp/shelf_model.cc:52: item.id = ShelfID(kAppListId); nit: Leave a comment about ...
3 years, 6 months ago (2017-06-02 18:22:16 UTC) #11
msw
https://codereview.chromium.org/2917013002/diff/40001/ash/public/cpp/shelf_model.cc File ash/public/cpp/shelf_model.cc (right): https://codereview.chromium.org/2917013002/diff/40001/ash/public/cpp/shelf_model.cc#newcode52 ash/public/cpp/shelf_model.cc:52: item.id = ShelfID(kAppListId); On 2017/06/02 18:22:16, James Cook wrote: ...
3 years, 6 months ago (2017-06-02 18:25:03 UTC) #12
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/2917013002/60001
3 years, 6 months ago (2017-06-02 18:25:35 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/454678)
3 years, 6 months ago (2017-06-02 18:36:09 UTC) #17
msw
+TBR Ken for chrome/browser/extensions/OWNERS
3 years, 6 months ago (2017-06-02 19:02:22 UTC) #20
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/2917013002/60001
3 years, 6 months ago (2017-06-02 19:02:57 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 20:12:10 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/109806d8e01bfe430b3305bd66c8...

Powered by Google App Engine
This is Rietveld 408576698