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

Issue 12310109: Add a shortcut to open the Apps page from the bookmark bar. (Closed)

Created:
7 years, 10 months ago by MAD
Modified:
7 years, 9 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, tfarina
Visibility:
Public.

Description

Add a shortcut to open the Apps page from the bookmark bar. Moved over to: https://codereview.chromium.org/12386088/ BUG=177377 TEST=Make sure that an app shortcut is available in the bookmark bar when instant extended is enabled, and that this button can be hidden/shown from the bookmark bar context menu.

Patch Set 1 : #

Total comments: 16

Patch Set 2 : First round of CR comments. #

Patch Set 3 : pre-sync #

Patch Set 4 : Sync'd to ToT. #

Patch Set 5 : Addressed CR comments. #

Patch Set 6 : Adding the missing test file... #

Total comments: 20

Patch Set 7 : Other CR comments addressed. #

Total comments: 8

Patch Set 8 : OWNERS review comments addressed. #

Patch Set 9 : Sync'd to ToT. #

Patch Set 10 : Changed the icon to match the new favicon for the apps page. #

Patch Set 11 : Sync'd to ToT. #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -29 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 3 chunks +12 lines, -0 lines 2 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 2 3 1 chunk +3 lines, -0 lines 3 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.h View 1 2 3 4 5 6 5 chunks +23 lines, -0 lines 2 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 4 5 6 7 8 9 16 chunks +145 lines, -27 lines 4 comments Download
A chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc View 1 2 3 4 5 6 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_context_menu_controller_views.cc View 1 5 chunks +25 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
MAD
Can you please pre-OWNER review this? I'm probably going to ask you to implement the ...
7 years, 10 months ago (2013-02-25 20:43:23 UTC) #1
Alexei Svitkine (slow)
Can you write a basic test for this - e.g. just testing that the criteria ...
7 years, 10 months ago (2013-02-25 21:13:29 UTC) #2
MAD
Addressed most of the comments... Still need to write the test and resolve the code ...
7 years, 10 months ago (2013-02-25 21:41:00 UTC) #3
Alexei Svitkine (slow)
One other thing, can you add a histogram and/or count to see how often this ...
7 years, 10 months ago (2013-02-25 22:00:00 UTC) #4
MAD
On 2013/02/25 22:00:00, Alexei Svitkine wrote: > One other thing, can you add a histogram ...
7 years, 10 months ago (2013-02-25 22:01:27 UTC) #5
MAD
OK, added a unit test and finally decided to create a base class for text ...
7 years, 10 months ago (2013-02-26 18:36:12 UTC) #6
Alexei Svitkine (slow)
You forgot to add bookmark_bar_view_unittest.cc to the CL.
7 years, 10 months ago (2013-02-26 18:39:41 UTC) #7
MAD
Oopssss.... Sorry about that... I was sure I did a git add, seems like I ...
7 years, 10 months ago (2013-02-26 19:24:37 UTC) #8
tfarina
https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc#newcode1 chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 10 months ago (2013-02-26 19:27:51 UTC) #9
Alexei Svitkine (slow)
LGTM with a few more nits. https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h File chrome/browser/ui/views/bookmarks/bookmark_bar_view.h (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h#newcode369 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h:369: bool IsAppsShortcutVisible() const; ...
7 years, 10 months ago (2013-02-26 19:29:50 UTC) #10
Alexei Svitkine (slow)
https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc#newcode10 chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:10: #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" On 2013/02/26 19:27:51, tfarina wrote: > make ...
7 years, 10 months ago (2013-02-26 19:32:30 UTC) #11
tfarina
https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc#newcode10 chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:10: #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" On 2013/02/26 19:32:30, Alexei Svitkine wrote: > ...
7 years, 10 months ago (2013-02-26 19:35:26 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc#newcode10 chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:10: #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" On 2013/02/26 19:35:26, tfarina wrote: > https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc ...
7 years, 10 months ago (2013-02-26 19:48:24 UTC) #13
tfarina
On Tue, Feb 26, 2013 at 4:48 PM, <asvitkine@chromium.org> wrote: > > https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc > File ...
7 years, 10 months ago (2013-02-26 19:54:28 UTC) #14
Alexei Svitkine (slow)
On 2013/02/26 19:54:28, tfarina wrote: > May be we are reading different style guides? Or ...
7 years, 10 months ago (2013-02-26 20:10:38 UTC) #15
MAD
How about this? Thanks again! BYE MAD... https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h File chrome/browser/ui/views/bookmarks/bookmark_bar_view.h (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h#newcode369 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h:369: bool IsAppsShortcutVisible() ...
7 years, 10 months ago (2013-02-26 20:55:52 UTC) #16
tfarina
https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc (right): https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc#newcode1 chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 10 months ago (2013-02-26 21:14:21 UTC) #17
MAD
So do I get your LGTM for this? If so, I'll ask for OWNERS approval ...
7 years, 10 months ago (2013-02-26 21:20:06 UTC) #18
MAD
Actually, might as well ask for OWNERS review now... sky@ are you OK with reviewing ...
7 years, 10 months ago (2013-02-26 22:03:18 UTC) #19
tfarina
you have my informal LGTM. The bat is with Scott now ;) https://codereview.chromium.org/12310109/diff/1028/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc ...
7 years, 10 months ago (2013-02-26 22:34:02 UTC) #20
sky
I spoke with Glen about this too and he voiced some concerns about this. Please ...
7 years, 10 months ago (2013-02-26 23:56:09 UTC) #21
MAD
Comments addressed/answered and email sent to UI leads... Thanks! BYE MAD https://codereview.chromium.org/12310109/diff/25/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (right): ...
7 years, 10 months ago (2013-02-27 00:55:43 UTC) #22
sky
Ping this once the ui folks are happy and I'll take another look. -Scott On ...
7 years, 10 months ago (2013-02-27 01:09:21 UTC) #23
MAD
So Glen just gave this a go... Do you have other comments? Thanks! BYE MAD
7 years, 9 months ago (2013-02-28 18:40:37 UTC) #24
sky
https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd#newcode8896 chrome/app/generated_resources.grd:8896: + Apps nit: indent this and 'Opens apps ...' ...
7 years, 9 months ago (2013-02-28 21:50:31 UTC) #25
beaudoin
On 2013/02/28 21:50:31, sky wrote: > https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd > File chrome/app/generated_resources.grd (right): > > https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd#newcode8896 > ...
7 years, 9 months ago (2013-03-04 20:42:14 UTC) #26
beaudoin
Comments adressed in patchset 2 of: https://codereview.chromium.org/12386088/ https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/12310109/diff/18001/chrome/app/generated_resources.grd#newcode8896 chrome/app/generated_resources.grd:8896: + Apps ...
7 years, 9 months ago (2013-03-04 23:30:14 UTC) #27
sky
https://codereview.chromium.org/12310109/diff/18001/chrome/browser/bookmarks/bookmark_utils.cc File chrome/browser/bookmarks/bookmark_utils.cc (right): https://codereview.chromium.org/12310109/diff/18001/chrome/browser/bookmarks/bookmark_utils.cc#newcode443 chrome/browser/bookmarks/bookmark_utils.cc:443: true, On 2013/03/04 23:30:14, beaudoin wrote: > On 2013/02/28 ...
7 years, 9 months ago (2013-03-05 01:31:29 UTC) #28
sky
I think you need to push a new patchset too.
7 years, 9 months ago (2013-03-05 01:32:46 UTC) #29
gideonwald
On 2013/03/05 01:32:46, sky wrote: > I think you need to push a new patchset ...
7 years, 9 months ago (2013-03-05 02:18:07 UTC) #30
beaudoin
On 2013/03/05 02:18:07, gideonwald wrote: > On 2013/03/05 01:32:46, sky wrote: > > I think ...
7 years, 9 months ago (2013-03-05 03:09:56 UTC) #31
beaudoin
7 years, 9 months ago (2013-03-05 03:10:29 UTC) #32
On 2013/03/05 03:09:56, beaudoin wrote:
> On 2013/03/05 02:18:07, gideonwald wrote:
> > On 2013/03/05 01:32:46, sky wrote:
> > > I think you need to push a new patchset too.
> > 
> > Sky, there's no more link to the CWS on the 1993 NTP.
> 
> @Sky the patchset has been pushed to  
https://codereview.chromium.org/12310109/
> (patchset 2)
> this is suboptimal, but I don't think I can take over MAD's CR so starting
> another one is the best I could do. :(

Wrong link, sorry: https://codereview.chromium.org/12386088/

Powered by Google App Engine
This is Rietveld 408576698