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

Issue 8822024: Profile/user menu on NTP should look more clickable? (Closed)

Created:
9 years ago by Tyler Breisacher (Chromium)
Modified:
9 years ago
CC:
chromium-reviews, estade+watch_chromium.org, arv (Not doing code reviews)
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Profile/user menu on NTP should look more clickable? BUG=102685 TEST=NONE R= estade@chromium.org, sail@chromium.org, jeffreyc@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113862

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated changeset, with suggestions from sail and estade #

Total comments: 4

Patch Set 3 : a few more changes, following comment #7 #

Patch Set 4 : add profile-name class to 'username' #

Total comments: 1

Patch Set 5 : curly braces (thanks estade) #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M chrome/browser/resources/ntp4/new_tab.css View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 2 3 4 2 chunks +11 lines, -4 lines 4 comments Download

Messages

Total messages: 19 (0 generated)
Tyler Breisacher (Chromium)
Just adding a :hover CSS rule so the user's name is more clickable-looking...
9 years ago (2011-12-06 18:51:23 UTC) #1
sail
Also, make sure to include screenshots when making visual changes. You'll probably want to get ...
9 years ago (2011-12-06 19:02:41 UTC) #2
Tyler Breisacher (Chromium)
http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css File chrome/browser/resources/ntp4/new_tab.css (right): http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css#newcode194 chrome/browser/resources/ntp4/new_tab.css:194: text-decoration: underline; for #1, I'm seeing my email address ...
9 years ago (2011-12-06 19:33:22 UTC) #3
sail
http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css File chrome/browser/resources/ntp4/new_tab.css (right): http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css#newcode194 chrome/browser/resources/ntp4/new_tab.css:194: text-decoration: underline; On 2011/12/06 19:33:22, tbreisacher wrote: > for ...
9 years ago (2011-12-06 19:41:43 UTC) #4
Evan Stade
http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css File chrome/browser/resources/ntp4/new_tab.css (right): http://codereview.chromium.org/8822024/diff/1/chrome/browser/resources/ntp4/new_tab.css#newcode187 chrome/browser/resources/ntp4/new_tab.css:187: text-decoration: none; i dont think you need this any ...
9 years ago (2011-12-06 20:21:39 UTC) #5
Tyler Breisacher (Chromium)
I uploaded a new CL which I hope is at least a step closer to ...
9 years ago (2011-12-06 22:49:59 UTC) #6
sail
LGTM! make sure to get an lgtm from jeff and estade as well. you can ...
9 years ago (2011-12-06 23:00:57 UTC) #7
Tyler Breisacher (Chromium)
http://codereview.chromium.org/8822024/diff/6001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8822024/diff/6001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode190 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:190: net::EscapeForHTML(name) + I figured it's unlikely someone would say ...
9 years ago (2011-12-06 23:17:47 UTC) #8
Tyler Breisacher (Chromium)
Adding jeffreyc to the review...
9 years ago (2011-12-06 23:24:50 UTC) #9
sail
http://codereview.chromium.org/8822024/diff/6001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8822024/diff/6001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode198 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:198: header = UTF8ToUTF16(username); On 2011/12/06 23:00:57, sail wrote: > ...
9 years ago (2011-12-06 23:46:25 UTC) #10
Evan Stade
lgtm http://codereview.chromium.org/8822024/diff/6006/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8822024/diff/6006/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode197 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:197: if (header.empty()) curlies
9 years ago (2011-12-08 18:23:34 UTC) #11
jeffreyc
LGTM On Thu, Dec 8, 2011 at 10:23 AM, <estade@chromium.org> wrote: > lgtm > > ...
9 years ago (2011-12-08 20:28:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/8822024/12001
9 years ago (2011-12-08 20:47:26 UTC) #13
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years ago (2011-12-08 22:51:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbreisacher@chromium.org/8822024/12001
9 years ago (2011-12-09 18:18:20 UTC) #15
commit-bot: I haz the power
Change committed as 113862
9 years ago (2011-12-09 22:19:33 UTC) #16
James Hawkins
http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode190 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:190: net::EscapeForHTML(name) + nit: Wrapped lines must be indented exactly ...
9 years ago (2011-12-10 03:07:30 UTC) #17
Tyler Breisacher (Chromium)
http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode198 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:198: header = UTF8ToUTF16("<span class='profile-name'>" + I was doing ASCII ...
9 years ago (2011-12-10 03:43:25 UTC) #18
James Hawkins
9 years ago (2011-12-10 04:14:24 UTC) #19
http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp...
File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right):

http://codereview.chromium.org/8822024/diff/12001/chrome/browser/ui/webui/ntp...
chrome/browser/ui/webui/ntp/ntp_login_handler.cc:198: header =
UTF8ToUTF16("<span class='profile-name'>" +
On 2011/12/10 03:43:25, tbreisacher wrote:
> I was doing ASCII above because I was following the example at line 207
> (signed_in_link = ...), but then I did UTF8 here, because the UTF8 function
was
> already being used, presumably because we know the username to be UTF8, but we
> don't know it to be ASCII.
> 
> But I agree it's confusing. Do you think we should change all three spots in
> this function to use UTF8, to be consistent?

Probably.  If these are all the same, we should refactor this into a method.

Powered by Google App Engine
This is Rietveld 408576698