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

Unified Diff: ui/views/bubble/bubble_frame_view.h

Issue 8863009: Fix alignment of avatar bubbles in the NTP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use Rect::Ofset() 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: ui/views/bubble/bubble_frame_view.h
diff --git a/ui/views/bubble/bubble_frame_view.h b/ui/views/bubble/bubble_frame_view.h
index 47861eb9a10187c05dddd50e63d9a40f2df9536f..b426c3306ac3564df546d7124804de888d86347b 100644
--- a/ui/views/bubble/bubble_frame_view.h
+++ b/ui/views/bubble/bubble_frame_view.h
@@ -41,6 +41,9 @@ class VIEWS_EXPORT BubbleFrameView : public NonClientFrameView {
// Accessor for bubble border inside border contents.
BubbleBorder* bubble_border() const;
+ gfx::Rect GetWindowBoundsForAnchorAndClientSize(
+ const gfx::Rect& anchor, const gfx::Size& client_size) const;
msw 2011/12/08 00:40:14 Put params on independent lines.
sail 2011/12/08 01:41:10 Done.
+
private:
FRIEND_TEST_ALL_PREFIXES(BubbleFrameViewBasicTest, GetBoundsForClientView);

Powered by Google App Engine
This is Rietveld 408576698