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

Issue 907473002: Polish UI of bookmark app creation. (Closed)

Created:
5 years, 10 months ago by benwells
Modified:
5 years, 10 months ago
Reviewers:
Lei Zhang, sashab
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, extensions-reviews_chromium.org, sadrul, kalyank, chrome-apps-syd-reviews_chromium.org, tfarina, arv+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Polish UI of bookmark app creation. This change bundles together a few minor UI improvements to the bookmark app creation flow: - The language for opening as a window vs. a tab is now always 'open as window', instead of sometimes being 'open as tab'. - The menu item is now called 'Add to XXXX' where XXXX is the platform specific shelf / dock / taskbar / desktop. - The app is now added to the shelf / dock / taskbar / desktop - Empty or only-whitespace names can no longer be provided. BUG=452830, 450102, 447385, 447384 Committed: https://crrev.com/e22df36a446da603acd37115a0bea62bba7c8a73 Cr-Commit-Position: refs/heads/master@{#315184}

Patch Set 1 #

Patch Set 2 : Fix whoopsie #

Patch Set 3 : Fix another whoopsie #

Total comments: 6

Patch Set 4 : Feedback #

Total comments: 4

Patch Set 5 : Extract GetTrimmedTitle #

Total comments: 4

Patch Set 6 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -46 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +19 lines, -4 lines 0 comments Download
M chrome/browser/extensions/bookmark_app_helper.cc View 1 2 3 2 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/resources/ntp4/apps_page.js View 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/app_list/app_context_menu.cc View 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 2 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 chunk +12 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h View 1 2 3 4 5 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc View 1 2 3 4 5 4 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
benwells
sashab for initial review.
5 years, 10 months ago (2015-02-06 15:29:46 UTC) #2
sashab
Publishing some small comments early; still reviewing. https://codereview.chromium.org/907473002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/907473002/diff/40001/chrome/app/generated_resources.grd#newcode2219 chrome/app/generated_resources.grd:2219: + <message ...
5 years, 10 months ago (2015-02-06 15:35:44 UTC) #3
benwells
https://codereview.chromium.org/907473002/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/907473002/diff/40001/chrome/app/generated_resources.grd#newcode2219 chrome/app/generated_resources.grd:2219: + <message name="IDS_ADD_TO_TASKBAR" desc="Button text for adding a bookmark ...
5 years, 10 months ago (2015-02-06 15:38:50 UTC) #4
sashab
lgtm, although not super familiar with the code in this area https://codereview.chromium.org/907473002/diff/40001/chrome/browser/ui/toolbar/wrench_menu_model.cc File chrome/browser/ui/toolbar/wrench_menu_model.cc (right): ...
5 years, 10 months ago (2015-02-06 15:45:22 UTC) #5
benwells
https://codereview.chromium.org/907473002/diff/40001/chrome/browser/extensions/bookmark_app_helper.cc File chrome/browser/extensions/bookmark_app_helper.cc (right): https://codereview.chromium.org/907473002/diff/40001/chrome/browser/extensions/bookmark_app_helper.cc#newcode424 chrome/browser/extensions/bookmark_app_helper.cc:424: // Mac. On 2015/02/06 15:35:44, sasha_b wrote: > nit: ...
5 years, 10 months ago (2015-02-06 15:52:17 UTC) #7
benwells
+thestig for owners review
5 years, 10 months ago (2015-02-06 15:53:03 UTC) #9
Dan Beam
https://codereview.chromium.org/907473002/diff/60001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc (right): https://codereview.chromium.org/907473002/diff/60001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc#newcode248 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc:248: base::TrimWhitespace(title, base::TRIM_ALL, &title); drive-by nit: base::string16 GetTrimmedTitle() { base::string16 ...
5 years, 10 months ago (2015-02-06 16:29:28 UTC) #10
benwells
https://codereview.chromium.org/907473002/diff/60001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc (right): https://codereview.chromium.org/907473002/diff/60001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc#newcode248 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc:248: base::TrimWhitespace(title, base::TRIM_ALL, &title); On 2015/02/06 16:29:28, Dan Beam wrote: ...
5 years, 10 months ago (2015-02-06 16:49:29 UTC) #11
Lei Zhang
lgtm https://codereview.chromium.org/907473002/diff/80001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc (right): https://codereview.chromium.org/907473002/diff/80001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc#newcode230 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc:230: DCHECK(sender == title_tf_); DCHECK_EQ() https://codereview.chromium.org/907473002/diff/80001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.h (right): ...
5 years, 10 months ago (2015-02-06 22:41:28 UTC) #12
benwells
https://codereview.chromium.org/907473002/diff/80001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc File chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc (right): https://codereview.chromium.org/907473002/diff/80001/chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc#newcode230 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc:230: DCHECK(sender == title_tf_); On 2015/02/06 22:41:27, Lei Zhang wrote: ...
5 years, 10 months ago (2015-02-07 03:17:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/907473002/100001
5 years, 10 months ago (2015-02-07 03:18:39 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-07 04:34:55 UTC) #17
commit-bot: I haz the power
5 years, 10 months ago (2015-02-07 04:35:57 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e22df36a446da603acd37115a0bea62bba7c8a73
Cr-Commit-Position: refs/heads/master@{#315184}

Powered by Google App Engine
This is Rietveld 408576698