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

Issue 392005: NTP: Hide "Make this my home page" after setting the home page.... (Closed)

Created:
11 years, 1 month ago by arv (Not doing code reviews)
Modified:
9 years, 3 months ago
Reviewers:
kuchhal, rahulk
CC:
chromium-reviews_googlegroups.com, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

NTP: Hide "Make this my home page" after setting the home page. This also fixes an l10n issue where the string was hard coded in English. Instead of using the tips infrastructure, after setting the home page we send an ack to the NTP and show a notification. In this way the user will see the notification even if they have hidden the tips. Added a ui test that clicks on the link and checks the state of the UI afterwards. BUG=25101 TEST=Set your home page to non NTP. Go the the NTP by opening a new tab. Click on the link "Make this my home page" at the bottom. You should see a banner at the top. Pressing Alt-Home should now go to the NTP. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31823

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -29 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.cc View 2 chunks +19 lines, -21 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui_uitest.cc View 1 2 2 chunks +71 lines, -0 lines 0 comments Download
M chrome/browser/resources/new_new_tab.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/new_new_tab.html View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/new_new_tab.js View 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
arv (Not doing code reviews)
11 years, 1 month ago (2009-11-11 22:49:06 UTC) #1
kuchhal
11 years, 1 month ago (2009-11-12 00:41:30 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698