From 1163119b66586270926d92066ca699b2873d4694 Mon Sep 17 00:00:00 2001 From: "dpolukhin@chromium.org" Date: Fri, 7 May 2010 07:12:43 +0000 Subject: Put back info_bubble with left&right arrows. Original CL: http://codereview.chromium.org/1820002 After submitting resources in separate CL, try servers pass on all platforms and locally tests all pass so submitting without any new changes. BUG=crosbug.com/2800 TEST=Should be no visible changes with info bubble, everything should work as before. TBR=pkasting Review URL: http://codereview.chromium.org/2012003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46663 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/pinned_contents_info_bubble.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'chrome/browser/views/pinned_contents_info_bubble.h') diff --git a/chrome/browser/views/pinned_contents_info_bubble.h b/chrome/browser/views/pinned_contents_info_bubble.h index 7ceb89b..d93b0e2 100644 --- a/chrome/browser/views/pinned_contents_info_bubble.h +++ b/chrome/browser/views/pinned_contents_info_bubble.h @@ -18,8 +18,8 @@ class PinnedContentsBorderContents : public BorderContents { // BorderContents overrides: virtual void SizeAndGetBounds( const gfx::Rect& position_relative_to, // In screen coordinates + BubbleBorder::ArrowLocation arrow_location, const gfx::Size& contents_size, - bool prefer_arrow_on_right, gfx::Rect* contents_bounds, // Returned in window coordinates gfx::Rect* window_bounds); // Returned in screen coordinates @@ -60,11 +60,13 @@ class PinnedContentsInfoBubble : public InfoBubble { // order to anchor its contents. Once the InfoBubble has been anchored its // arrow may be pointing to a slightly different |y| location than specified // in |position_relative_to|. - static PinnedContentsInfoBubble* Show(views::Window* parent, - const gfx::Rect& position_relative_to, - const gfx::Point& bubble_anchor_, - views::View* contents, - InfoBubbleDelegate* delegate); + static PinnedContentsInfoBubble* Show( + views::Widget* parent, + const gfx::Rect& position_relative_to, + BubbleBorder::ArrowLocation arrow_location, + const gfx::Point& bubble_anchor_, + views::View* contents, + InfoBubbleDelegate* delegate); private: explicit PinnedContentsInfoBubble(const gfx::Point& bubble_anchor) -- cgit v1.1