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

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

Issue 8863009: Fix alignment of avatar bubbles in the NTP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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
Index: chrome/browser/ui/views/confirm_bubble_view.cc
diff --git a/chrome/browser/ui/views/confirm_bubble_view.cc b/chrome/browser/ui/views/confirm_bubble_view.cc
index b0d848162cd53cc451bb3b888db25ddbc0133c62..46f2044a446752a1d10c830e27d6a12fa4d1196f 100644
--- a/chrome/browser/ui/views/confirm_bubble_view.cc
+++ b/chrome/browser/ui/views/confirm_bubble_view.cc
@@ -48,8 +48,8 @@ void ConfirmBubbleView::LinkClicked(views::Link* source, int event_flags) {
model_->LinkClicked();
}
-gfx::Point ConfirmBubbleView::GetAnchorPoint() {
- return anchor_point_;
+gfx::Rect ConfirmBubbleView::GetAnchorRect() {
+ return gfx::Rect(anchor_point_, gfx::Size());
}
void ConfirmBubbleView::Init() {
« no previous file with comments | « chrome/browser/ui/views/confirm_bubble_view.h ('k') | chrome/browser/ui/views/content_setting_bubble_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698