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

Unified Diff: chrome/browser/ui/views/toolbar_view.cc

Issue 8368016: Rebase BookmarkBubble on the new views bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only SelectAll on the title textfield when the buble is first shown. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | ui/aura_shell/examples/bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar_view.cc
diff --git a/chrome/browser/ui/views/toolbar_view.cc b/chrome/browser/ui/views/toolbar_view.cc
index 5bfead8e6324262a8fc9324e6963bb1862b51008..1e4736b9a7023193736fdcd972f67fa1eb9625df 100644
--- a/chrome/browser/ui/views/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar_view.cc
@@ -723,12 +723,9 @@ void ToolbarView::LoadImages() {
void ToolbarView::ShowCriticalNotification() {
#if defined(OS_WIN)
- gfx::Point screen_loc(app_menu_->width() / 2, app_menu_->height());
- views::View::ConvertPointToScreen(app_menu_, &screen_loc);
-
CriticalNotificationBubbleView* bubble_delegate =
- new CriticalNotificationBubbleView(screen_loc);
- views::BubbleDelegateView::CreateBubble(bubble_delegate, GetWidget());
+ new CriticalNotificationBubbleView(app_menu_);
+ views::BubbleDelegateView::CreateBubble(bubble_delegate);
bubble_delegate->StartFade(true);
#endif
}
« no previous file with comments | « chrome/browser/ui/views/location_bar/star_view.cc ('k') | ui/aura_shell/examples/bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698