Commit f96f559f authored by xiyuan@chromium.org's avatar xiyuan@chromium.org

Update bubble small shadow image assets.

Also
- removed the temp work-around in disabled_extensions_view.cc.
- pngcrushed the images in common/.

BUG=165808
TEST=Verify hotdog menu bubble does not go beyond browser window.

R=oshima@chromium.org,finnur@chromium.org
TBR=msw@chromium.org,sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176104 0039d316-1c4b-4281-b951-d872f2087c98
parent 5c90d03d
...@@ -86,10 +86,6 @@ DisabledExtensionsView::DisabledExtensionsView( ...@@ -86,10 +86,6 @@ DisabledExtensionsView::DisabledExtensionsView(
set_move_with_anchor(true); set_move_with_anchor(true);
set_close_on_esc(true); set_close_on_esc(true);
// TODO(finnur): Until http://crbug.com/165808 is fixed, we need to turn off
// the shadow because it causes the bubble to overlap the window border.
set_shadow(views::BubbleBorder::NO_SHADOW);
// Compensate for built-in vertical padding in the anchor view's image. // Compensate for built-in vertical padding in the anchor view's image.
set_anchor_insets(gfx::Insets(5, 0, 5, 0)); set_anchor_insets(gfx::Insets(5, 0, 5, 0));
......
...@@ -367,7 +367,7 @@ BubbleBorder::BorderImages* BubbleBorder::GetBorderImages(Shadow shadow) { ...@@ -367,7 +367,7 @@ BubbleBorder::BorderImages* BubbleBorder::GetBorderImages(Shadow shadow) {
case SMALL_SHADOW: case SMALL_SHADOW:
images = new BorderImages(kSmallShadowImages, images = new BorderImages(kSmallShadowImages,
arraysize(kSmallShadowImages), arraysize(kSmallShadowImages),
9, 0, 3); 6, 0, 3);
break; break;
case SHADOW_COUNT: case SHADOW_COUNT:
NOTREACHED(); NOTREACHED();
......
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