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

Issue 8664028: Profiles: Fixed crash when avatar bubble is launched using ctrl+shift+m with only default profile (Closed)

Created:
9 years ago by NaveenBobbili (Motorola)
Modified:
9 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Profiles: Fixed crash when avatar bubble is launched using ctrl+shift+m key press when there is only one default profile. Incorporated necessary condition check before launching avatar bubble. BUG=105700 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112864

Patch Set 1 #

Patch Set 2 : Fixed review comments #

Patch Set 3 : Fixed review comments. Used new approach. #

Total comments: 2

Patch Set 4 : Fixed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/gtk/avatar_menu_button_gtk.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
NaveenBobbili (Motorola)
Please review
9 years ago (2011-11-29 12:26:14 UTC) #1
Miranda Callahan
On 2011/11/29 12:26:14, NaveenBobbili (Motorola) wrote: > Please review We should not show the avatar ...
9 years ago (2011-11-29 13:54:57 UTC) #2
sail
On 2011/11/29 13:54:57, Miranda Callahan wrote: > On 2011/11/29 12:26:14, NaveenBobbili (Motorola) wrote: > > ...
9 years ago (2011-11-29 17:08:21 UTC) #3
NaveenBobbili (Motorola)
Thanks for your comments. I have made changes accordingly. Please take a look.
9 years ago (2011-11-30 05:00:42 UTC) #4
sail
lgtm
9 years ago (2011-11-30 05:08:52 UTC) #5
NaveenBobbili (Motorola)
On 2011/11/30 05:08:52, sail wrote: > lgtm Thanks. I will wait for others also before ...
9 years ago (2011-11-30 05:11:09 UTC) #6
sail
I think the root problem here is that the button isn't inside a browser window. ...
9 years ago (2011-11-30 05:17:33 UTC) #7
NaveenBobbili (Motorola)
On 2011/11/30 05:17:33, sail wrote: > I think the root problem here is that the ...
9 years ago (2011-11-30 06:27:55 UTC) #8
sail
On 2011/11/30 06:27:55, NaveenBobbili (Motorola) wrote: > On 2011/11/30 05:17:33, sail wrote: > > I ...
9 years ago (2011-11-30 06:30:07 UTC) #9
James Hawkins
On 2011/11/30 06:30:07, sail wrote: > On 2011/11/30 06:27:55, NaveenBobbili (Motorola) wrote: > > On ...
9 years ago (2011-11-30 16:24:24 UTC) #10
NaveenBobbili (Motorola)
I implemented as per proposed approach. Please review the same.
9 years ago (2011-12-01 06:06:21 UTC) #11
James Hawkins
http://codereview.chromium.org/8664028/diff/10001/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc File chrome/browser/ui/gtk/avatar_menu_button_gtk.cc (right): http://codereview.chromium.org/8664028/diff/10001/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc#newcode52 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc:52: if (gtk_widget_get_parent_window(widget_.get())) This isn't the same logic as ShouldDisplayAvatar().
9 years ago (2011-12-01 17:15:54 UTC) #12
sail
http://codereview.chromium.org/8664028/diff/10001/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc File chrome/browser/ui/gtk/avatar_menu_button_gtk.cc (right): http://codereview.chromium.org/8664028/diff/10001/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc#newcode52 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc:52: if (gtk_widget_get_parent_window(widget_.get())) On 2011/12/01 17:15:55, James Hawkins wrote: > ...
9 years ago (2011-12-01 19:12:23 UTC) #13
NaveenBobbili (Motorola)
Added comment in the code. Please take a look now.
9 years ago (2011-12-02 07:39:20 UTC) #14
sail
lgtm
9 years ago (2011-12-02 16:31:43 UTC) #15
James Hawkins
lgtm
9 years ago (2011-12-02 16:32:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qghc36@motorola.com/8664028/15002
9 years ago (2011-12-03 01:11:03 UTC) #17
commit-bot: I haz the power
9 years ago (2011-12-03 04:18:54 UTC) #18
Change committed as 112864

Powered by Google App Engine
This is Rietveld 408576698