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

Issue 324043002: Create a prominent omnibox UI element to add pages to the app launcher. (Closed)

Created:
6 years, 6 months ago by benwells
Modified:
6 years, 6 months ago
Reviewers:
calamity, Peter Kasting
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Create a prominent omnibox UI element to add pages to the app launcher. This is experimental and behind a flag. It does not currently do anything except allow us to explore what kind of UI we want. BUG=378171 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276608

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 8

Patch Set 3 : Feedback #

Total comments: 4

Patch Set 4 : Moar #

Total comments: 22

Patch Set 5 : Rebase #

Patch Set 6 : Feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -5 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc View 1 2 3 4 5 1 chunk +177 lines, -0 lines 1 comment Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 chunks +17 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
benwells
6 years, 6 months ago (2014-06-10 07:47:38 UTC) #1
calamity
Is there any reason not to subclass the ContentSettingImageView instead? That would serve as a ...
6 years, 6 months ago (2014-06-11 02:05:23 UTC) #2
benwells
I think the correct factorization is to extract something like a IconAndAnimatedLabelView, which this and ...
6 years, 6 months ago (2014-06-11 04:09:48 UTC) #3
calamity
Ok, fair enough. lgtm w/ nits. https://codereview.chromium.org/324043002/diff/40001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h File chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h (right): https://codereview.chromium.org/324043002/diff/40001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h#newcode57 chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h:57: int GetTotalSpacingWhileAnimating() const; ...
6 years, 6 months ago (2014-06-11 04:17:27 UTC) #4
benwells
https://codereview.chromium.org/324043002/diff/40001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h File chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h (right): https://codereview.chromium.org/324043002/diff/40001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h#newcode57 chrome/browser/ui/views/location_bar/add_to_app_launcher_view.h:57: int GetTotalSpacingWhileAnimating() const; On 2014/06/11 04:17:27, calamity wrote: > ...
6 years, 6 months ago (2014-06-11 07:34:42 UTC) #5
benwells
+pkasting for review
6 years, 6 months ago (2014-06-11 07:35:36 UTC) #6
Peter Kasting
LGTM with one substantive comment. https://codereview.chromium.org/324043002/diff/60001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc File chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc (right): https://codereview.chromium.org/324043002/diff/60001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc#newcode23 chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc:23: // TODO(benwells): Factorize common ...
6 years, 6 months ago (2014-06-11 18:20:49 UTC) #7
benwells
https://codereview.chromium.org/324043002/diff/60001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc File chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc (right): https://codereview.chromium.org/324043002/diff/60001/chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc#newcode23 chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc:23: // TODO(benwells): Factorize common code between this and On ...
6 years, 6 months ago (2014-06-12 03:36:36 UTC) #8
benwells
The CQ bit was checked by benwells@chromium.org
6 years, 6 months ago (2014-06-12 03:36:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/324043002/100001
6 years, 6 months ago (2014-06-12 03:43:19 UTC) #10
commit-bot: I haz the power
Change committed as 276608
6 years, 6 months ago (2014-06-12 09:42:24 UTC) #11
Peter Kasting
6 years, 6 months ago (2014-06-12 17:26:08 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/324043002/diff/100001/chrome/browser/ui/views...
File chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc (right):

https://codereview.chromium.org/324043002/diff/100001/chrome/browser/ui/views...
chrome/browser/ui/views/location_bar/add_to_app_launcher_view.cc:102:
SetVisible(false);
Nit: No need to go fix this now, but when you touch this file again, I suggest
moving this into the conditional below, since SetVisible() could cause things
like repaints or whatever, so minimizing the number of times it is called is
probably good.

Powered by Google App Engine
This is Rietveld 408576698