Commit a4cf9bf6 authored by oshima@chromium.org's avatar oshima@chromium.org

Move BookmarkBubble with anchor

BUG=343049
R=msw@chromium.org

Review URL: https://codereview.chromium.org/152843004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251019 0039d316-1c4b-4281-b951-d872f2087c98
parent 25d7f892
...@@ -270,6 +270,7 @@ BookmarkBubbleView::BookmarkBubbleView( ...@@ -270,6 +270,7 @@ BookmarkBubbleView::BookmarkBubbleView(
const SkColor background_color = GetNativeTheme()->GetSystemColor( const SkColor background_color = GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_DialogBackground); ui::NativeTheme::kColorId_DialogBackground);
set_color(background_color); set_color(background_color);
set_move_with_anchor(true);
set_background(views::Background::CreateSolidBackground(background_color)); set_background(views::Background::CreateSolidBackground(background_color));
set_margins(gfx::Insets(views::kPanelVertMargin, 0, 0, 0)); set_margins(gfx::Insets(views::kPanelVertMargin, 0, 0, 0));
// Compensate for built-in vertical padding in the anchor view's image. // Compensate for built-in vertical padding in the anchor view's image.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment