diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-03 20:36:06 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-03 20:36:06 +0000 |
commit | 41939cf6e1b288242c2345793235cf1ab0bd98d9 (patch) | |
tree | 046ba41d9afc0733c89a9c2e552b4ece7853f687 /chrome/browser/ui/views/toolbar_view.cc | |
parent | 924b5b4fca09230ddde4191dc03beac7d6f8a370 (diff) | |
download | chromium_src-41939cf6e1b288242c2345793235cf1ab0bd98d9.zip chromium_src-41939cf6e1b288242c2345793235cf1ab0bd98d9.tar.gz chromium_src-41939cf6e1b288242c2345793235cf1ab0bd98d9.tar.bz2 |
Align avatar bubble with edge of anchor control
Currently when showing the avatar bubble the tip of the bubble points to the middle of the anchor control.
This can look weird so I'm changing it to be aligned with the edge of the anchor control.
BUG=98884
TEST=
Review URL: http://codereview.chromium.org/8439064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108537 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/toolbar_view.cc')
-rw-r--r-- | chrome/browser/ui/views/toolbar_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc index c792bb1f..4616302 100644 --- a/chrome/browser/ui/views/toolbar_view.cc +++ b/chrome/browser/ui/views/toolbar_view.cc @@ -731,6 +731,7 @@ void ToolbarView::ShowCriticalNotification() { Bubble* bubble = Bubble::Show(GetWidget(), gfx::Rect(screen_loc, app_menu_->size()), views::BubbleBorder::TOP_RIGHT, + views::BubbleBorder::ALIGN_ARROW_TO_MID_ANCHOR, critical_notification_bubble, critical_notification_bubble); bubble->set_close_on_deactivate(false); |