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

Issue 7833021: [ntp4] Add a 'Manage Bookmarks' link at the top of the Bookmarks page. Also right-align links. (Closed)

Created:
9 years, 3 months ago by csilv
Modified:
9 years, 3 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

[ntp4] Add a 'Manage Bookmarks' link at the top of the Bookmarks page. Also right-align links. BUG=94785 TEST=Verify that a 'Manage Bookmarks' link appears at the top/right of bookmarks page in NTP4. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99700

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 14

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -17 lines) Patch
M chrome/app/generated_resources.grd View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp4/bookmarks_page.css View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M chrome/browser/resources/ntp4/bookmarks_page.js View 1 2 3 chunks +19 lines, -14 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/tile_page.js View 1 2 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
csilv
+estade for review FYI, this is the only CL I will have for review today ...
9 years, 3 months ago (2011-09-04 22:02:57 UTC) #1
Evan Stade
lgtm with comments addressed http://codereview.chromium.org/7833021/diff/3001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/7833021/diff/3001/chrome/app/generated_resources.grd#newcode8445 chrome/app/generated_resources.grd:8445: Show all... no ellipses in ...
9 years, 3 months ago (2011-09-05 01:59:20 UTC) #2
csilv
9 years, 3 months ago (2011-09-06 05:33:33 UTC) #3
http://codereview.chromium.org/7833021/diff/3001/chrome/app/generated_resourc...
File chrome/app/generated_resources.grd (right):

http://codereview.chromium.org/7833021/diff/3001/chrome/app/generated_resourc...
chrome/app/generated_resources.grd:8445: Show all...
On 2011/09/05 01:59:20, Evan Stade wrote:
> no ellipses in either string (I asked UI leads specifically about this. The
> ellipsis is just for actions that won't be completed when you click the thing.
> The "Show all" action /is/ completed when you click "Show all". I guess it's a
> bit hazier for "Manage bookmarks" but I think it's generally understood that a
> link will take the user away from 'here' so the ellipsis is extraneous.)

Done.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
File chrome/browser/resources/ntp4/bookmarks_page.css (right):

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/bookmarks_page.css:109: #bookmarks-title-wrapper {
On 2011/09/05 01:59:20, Evan Stade wrote:
> might as well fix crbug.com/94968 while we're here

Could you clarify, do you mean the same colors (background gradient, line, text
colors) as the footer, or just the opacity?

Going to leave this to a separate CL.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/bookmarks_page.css:165: text-align: right;
On 2011/09/05 01:59:20, Evan Stade wrote:
> end not right

Done.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/bookmarks_page.css:173: text-align: right;
On 2011/09/05 01:59:20, Evan Stade wrote:
> also need to make this ok for RTL (I think you can just use text-align: end;
and
> margin: 0px -70px;)

Done.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
File chrome/browser/resources/ntp4/bookmarks_page.js (right):

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/bookmarks_page.js:236: // insert the top & bottom
links for the Bookmarks Manager page.
On 2011/09/05 01:59:20, Evan Stade wrote:
> Insert

Done.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
File chrome/browser/resources/ntp4/new_tab.html (right):

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/new_tab.html:139: <a href="chrome://bookmarks"
i18n-content="bookmarksManagerLinkTitle"></a>
On 2011/09/05 01:59:20, Evan Stade wrote:
> I think this should probably open the same URL as the bottom link. It's weird
we
> have two links that do the same thing but it would be weirder to have the top
> link disappear, and probably it's not what the user wants if they're deep in
> some folder and this link doesn't take them there.

Done.

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
File chrome/browser/resources/ntp4/tile_page.js (right):

http://codereview.chromium.org/7833021/diff/3001/chrome/browser/resources/ntp...
chrome/browser/resources/ntp4/tile_page.js:326: var TILE_GRID_EXTRA_PADDING =
40;
On 2011/09/05 01:59:20, Evan Stade wrote:
> can you do this as a function on TilePage which children of TilePage can
> override, like
> 
> ExtraBottomPadding: function() {
>   return 40;
> }
> 
> that way I think it's not such a hack.

Done.

Powered by Google App Engine
This is Rietveld 408576698