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

Issue 23709003: Display an app's short name in the app launcher (Closed)

Created:
7 years, 3 months ago by tmdiep
Modified:
7 years, 3 months ago
Reviewers:
benwells, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Display an app's short name in the app launcher The app launcher will now display an app's short name (the new short_name property in the manifest file). If an app's short name and full name differ, the tooltip will show the full name. If an app's short name and full name are identical, a tooltip will only be shown if the title is truncated. BUG=226848 TEST=If an app has a short name and it differs from its full name, a tooltip should always be shown, displaying the full name. If an app does not have a short name override, there should be no change in behavior, i.e. a tooltip will only be shown if the title is truncated. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221205

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments #

Total comments: 2

Patch Set 3 : Set both title and full name together in AppListItemModel #

Total comments: 2

Patch Set 4 : Addressed Nit #

Patch Set 5 : Fixed compilation errors in app list unit tests on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -13 lines) Patch
M ash/shell/app_list.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/app_list/app_list_item_model.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M ui/app_list/app_list_item_model.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M ui/app_list/cocoa/apps_grid_controller_unittest.mm View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M ui/app_list/test/app_list_test_model.h View 1 1 chunk +8 lines, -1 line 0 comments Download
M ui/app_list/test/app_list_test_model.cc View 1 2 3 1 chunk +9 lines, -3 lines 0 comments Download
M ui/app_list/views/app_list_item_view.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_item_view.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
tmdiep
App launcher now displays the new "short_name" manifest property.
7 years, 3 months ago (2013-08-29 07:57:47 UTC) #1
benwells
I started some try jobs for you, there may be some compile issues on some ...
7 years, 3 months ago (2013-08-29 09:14:15 UTC) #2
tapted
On 2013/08/29 09:14:15, benwells wrote: > I started some try jobs for you, there may ...
7 years, 3 months ago (2013-08-30 01:51:29 UTC) #3
tmdiep
https://codereview.chromium.org/23709003/diff/1/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): https://codereview.chromium.org/23709003/diff/1/chrome/browser/ui/app_list/extension_app_item.cc#newcode105 chrome/browser/ui/app_list/extension_app_item.cc:105: SetTitle(extension_name_); On 2013/08/29 09:14:15, benwells wrote: > This will ...
7 years, 3 months ago (2013-08-30 02:48:13 UTC) #4
tmdiep
Checked in a patch which renames AppListItemModel::SetTitle() to SetName() and sets both the title and ...
7 years, 3 months ago (2013-08-30 06:15:48 UTC) #5
benwells
I started more bots for you.... https://codereview.chromium.org/23709003/diff/13001/ui/app_list/app_list_item_model.h File ui/app_list/app_list_item_model.h (right): https://codereview.chromium.org/23709003/diff/13001/ui/app_list/app_list_item_model.h#newcode34 ui/app_list/app_list_item_model.h:34: void SetName(const std::string& ...
7 years, 3 months ago (2013-08-30 06:25:07 UTC) #6
tmdiep
Addressed nit and also fixed compilation errors on mac. Can someone please start some bots ...
7 years, 3 months ago (2013-08-30 07:29:51 UTC) #7
tapted
On 2013/08/30 07:29:51, tmdiep wrote: > Addressed nit and also fixed compilation errors on mac. ...
7 years, 3 months ago (2013-08-30 07:49:48 UTC) #8
benwells
lgtm
7 years, 3 months ago (2013-08-30 08:17:39 UTC) #9
tmdiep
On 2013/08/30 07:49:48, tapted wrote: > On 2013/08/30 07:29:51, tmdiep wrote: > > Addressed nit ...
7 years, 3 months ago (2013-09-01 02:08:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/23709003/26001
7 years, 3 months ago (2013-09-01 23:37:10 UTC) #11
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=23369
7 years, 3 months ago (2013-09-01 23:47:15 UTC) #12
tmdiep
Adding sky as reviewer. sky - Can you please review the changes in ash/shell/app_list.cc. Thanks.
7 years, 3 months ago (2013-09-01 23:50:51 UTC) #13
sky
LGTM
7 years, 3 months ago (2013-09-03 16:07:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/23709003/26001
7 years, 3 months ago (2013-09-03 23:23:58 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=73937
7 years, 3 months ago (2013-09-04 02:58:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tmdiep@chromium.org/23709003/26001
7 years, 3 months ago (2013-09-04 04:28:37 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 16:52:35 UTC) #18
Message was sent while issue was closed.
Change committed as 221205

Powered by Google App Engine
This is Rietveld 408576698