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

Issue 8110003: Show avatar menu from NTP4 (Closed)

Created:
9 years, 2 months ago by sail
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Dmitry Titov, dcheng, prasadt, jianli, estade+watch_chromium.org
Visibility:
Public.

Description

Show avatar menu from NTP4 If the user clicks on the NTP login status we now show the avatar menu. BUG=93179 TEST=Tested on Views. Mac build pending. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104300

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address review comments #

Total comments: 4

Patch Set 3 : addressed review comments #

Patch Set 4 : rebase branch #

Patch Set 5 : merge #

Patch Set 6 : fix build #

Patch Set 7 : fix mac build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -3 lines) Patch
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_login_handler.cc View 1 2 3 4 4 chunks +32 lines, -2 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
sail
jhawkins@chromium.org: webui rsesek@chromium.org: cocoa erg@chromium.org: gtk pkasting@chromium.org:views
9 years, 2 months ago (2011-10-02 18:04:03 UTC) #1
Robert Sesek
http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h#newcode356 chrome/browser/ui/browser_window.h:356: // Shows the avatar bubble at the given position ...
9 years, 2 months ago (2011-10-03 14:55:57 UTC) #2
arv (Not doing code reviews)
drive by http://codereview.chromium.org/8110003/diff/1/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/resources/ntp4/new_tab.js#newcode154 chrome/browser/resources/ntp4/new_tab.js:154: chrome.send('loginContainerClicked', [rect.right, rect.bottom]); Don't you want to ...
9 years, 2 months ago (2011-10-03 17:06:09 UTC) #3
jennb
drive by: http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/panels/panel.cc File chrome/browser/ui/panels/panel.cc (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/panels/panel.cc#newcode492 chrome/browser/ui/panels/panel.cc:492: NOTIMPLEMENTED(); Could you change this to a ...
9 years, 2 months ago (2011-10-03 17:08:06 UTC) #4
sail
On 2011/10/03 17:08:06, jennb wrote: > drive by: > > http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/panels/panel.cc > File chrome/browser/ui/panels/panel.cc (right): ...
9 years, 2 months ago (2011-10-03 17:32:48 UTC) #5
jennb
Panels will never show a new tab page. Just like pop-ups don't show the new ...
9 years, 2 months ago (2011-10-03 17:40:25 UTC) #6
Elliot Glaysher
http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc File chrome/browser/ui/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc#newcode2402 chrome/browser/ui/gtk/browser_window_gtk.cc:2402: void BrowserWindowGtk::ShowAvatarBubble(TabContents* tab_contents, Move to right under CreateFindBar().
9 years, 2 months ago (2011-10-03 18:25:01 UTC) #7
sail
Addressed review comments. Please take another look. http://codereview.chromium.org/8110003/diff/1/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/resources/ntp4/new_tab.js#newcode154 chrome/browser/resources/ntp4/new_tab.js:154: chrome.send('loginContainerClicked', [rect.right, ...
9 years, 2 months ago (2011-10-03 18:46:03 UTC) #8
Elliot Glaysher
http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h#newcode357 chrome/browser/ui/browser_window.h:357: virtual void ShowAvatarBubble(TabContents* tab_contents, int x, int y) = ...
9 years, 2 months ago (2011-10-03 19:26:46 UTC) #9
sail
http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h File chrome/browser/ui/browser_window.h (right): http://codereview.chromium.org/8110003/diff/1/chrome/browser/ui/browser_window.h#newcode357 chrome/browser/ui/browser_window.h:357: virtual void ShowAvatarBubble(TabContents* tab_contents, int x, int y) = ...
9 years, 2 months ago (2011-10-03 19:28:35 UTC) #10
Robert Sesek
c/b/u/cocoa LGTM
9 years, 2 months ago (2011-10-03 22:18:27 UTC) #11
Elliot Glaysher
gtk lgtm then On Mon, Oct 3, 2011 at 3:18 PM, <rsesek@chromium.org> wrote: > c/b/u/cocoa ...
9 years, 2 months ago (2011-10-03 22:20:37 UTC) #12
Peter Kasting
views rubber-stamp LGTM
9 years, 2 months ago (2011-10-03 23:44:24 UTC) #13
sail
jhawkins: need quick rubber stamp for DOMUI changes.
9 years, 2 months ago (2011-10-05 14:17:46 UTC) #14
James Hawkins
http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode84 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:84: CHECK(args->GetDouble(0, &x)); Why are these CHECKs?
9 years, 2 months ago (2011-10-05 16:37:32 UTC) #15
sail
http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode84 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:84: CHECK(args->GetDouble(0, &x)); On 2011/10/05 16:37:32, James Hawkins wrote: > ...
9 years, 2 months ago (2011-10-05 16:40:54 UTC) #16
James Hawkins
http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode84 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:84: CHECK(args->GetDouble(0, &x)); On 2011/10/05 16:40:54, sail wrote: > On ...
9 years, 2 months ago (2011-10-05 16:43:53 UTC) #17
sail
http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc File chrome/browser/ui/webui/ntp/ntp_login_handler.cc (right): http://codereview.chromium.org/8110003/diff/7003/chrome/browser/ui/webui/ntp/ntp_login_handler.cc#newcode84 chrome/browser/ui/webui/ntp/ntp_login_handler.cc:84: CHECK(args->GetDouble(0, &x)); On 2011/10/05 16:43:53, James Hawkins wrote: > ...
9 years, 2 months ago (2011-10-05 16:58:31 UTC) #18
James Hawkins
lgtm
9 years, 2 months ago (2011-10-05 17:56:09 UTC) #19
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8110003/17001
9 years, 2 months ago (2011-10-05 18:00:14 UTC) #20
commit-bot: I haz the power
Can't apply patch for file chrome/browser/resources/ntp4/new_tab.js. While running patch -p1 --forward --force; patching file chrome/browser/resources/ntp4/new_tab.js ...
9 years, 2 months ago (2011-10-05 18:00:17 UTC) #21
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8110003/18001
9 years, 2 months ago (2011-10-06 05:33:55 UTC) #22
commit-bot: I haz the power
Try job failure for 8110003-18001 (retry) on linux_rel for step "compile" (clobber build). It's a ...
9 years, 2 months ago (2011-10-06 06:03:40 UTC) #23
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8110003/20015
9 years, 2 months ago (2011-10-06 06:10:36 UTC) #24
commit-bot: I haz the power
Try job failure for 8110003-20015 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years, 2 months ago (2011-10-06 07:42:23 UTC) #25
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/8110003/24001
9 years, 2 months ago (2011-10-06 13:43:36 UTC) #26
commit-bot: I haz the power
9 years, 2 months ago (2011-10-06 15:17:36 UTC) #27
Change committed as 104300

Powered by Google App Engine
This is Rietveld 408576698