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

Issue 2627533002: Replace ShelfItemDelegate::GetTitle() with ShelfItem::title. (Closed)

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

Description

Replace ShelfItemDelegate::GetTitle() with ShelfItem::title. Initialize the item title on creation/addition to shelf. Watch for user window title changes in ShelfWindowWatcher. Refine Arc app support in LauncherControllerHelper::GetAppTitle. Remove ShelfModel::Status enum for app list item title changes on syncing. (Change title in ChromeLauncherControllerImpl::OnAppSyncUIStatusChanged) BUG=557406 TEST=No shelf item title/tooltip/application-menu changes. R=jamescook@chromium.org Review-Url: https://codereview.chromium.org/2627533002 Cr-Commit-Position: refs/heads/master@{#442908} Committed: https://chromium.googlesource.com/chromium/src/+/072dc547306ce82b35b6ef90f0917cbcaeb65534

Patch Set 1 #

Patch Set 2 : Working on it... #

Patch Set 3 : Restore browser shortcut title. #

Total comments: 8

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -133 lines) Patch
M ash/common/shelf/app_list_shelf_item_delegate.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/common/shelf/app_list_shelf_item_delegate.cc View 1 2 chunks +9 lines, -20 lines 0 comments Download
M ash/common/shelf/shelf_controller.cc View 3 chunks +5 lines, -9 lines 0 comments Download
M ash/common/shelf/shelf_item_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf_item_types.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_model.h View 3 chunks +1 line, -12 lines 0 comments Download
M ash/common/shelf/shelf_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/shelf/shelf_view.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher_item_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/shelf/shelf_window_watcher_item_delegate.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/common/test/test_shelf_item_delegate.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/test/test_shelf_item_delegate.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/shell/window_watcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/window_watcher_shelf_item_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/window_watcher_shelf_item_delegate.cc View 1 chunk +0 lines, -4 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 2 chunks +3 lines, -6 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 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.cc View 1 4 chunks +4 lines, -15 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h View 1 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, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc View 1 2 3 5 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_controller_helper.cc View 1 2 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
msw
Hey James, please take a look; thanks!
3 years, 11 months ago (2017-01-11 00:30:50 UTC) #9
James Cook
One question about ARC apps. https://codereview.chromium.org/2627533002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc File chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc (left): https://codereview.chromium.org/2627533002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc#oldcode40 chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc:40: base::string16 ArcAppDeferredLauncherItemController::GetTitle() { Q: ...
3 years, 11 months ago (2017-01-11 01:23:38 UTC) #13
msw
Please take another look, thanks! khmel@, feel free to review if you're interested. https://codereview.chromium.org/2627533002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_item_controller.cc File ...
3 years, 11 months ago (2017-01-11 02:17:31 UTC) #14
James Cook
LGTM. Thanks for extending the test coverage.
3 years, 11 months ago (2017-01-11 15:09:38 UTC) #19
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/2627533002/80001
3 years, 11 months ago (2017-01-11 15:11:22 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 15:16:58 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/072dc547306ce82b35b6ef90f091...

Powered by Google App Engine
This is Rietveld 408576698