diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 14:06:46 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-01 14:06:46 +0000 |
commit | 08577bba1a6f3c444453a9542c2acc94b46afd13 (patch) | |
tree | cf5c3f6c523ab228cb0555bd74504c997f160e66 /ui/views/bubble | |
parent | ed259d2270aedea10d67a9852255018d56232b73 (diff) | |
download | chromium_src-08577bba1a6f3c444453a9542c2acc94b46afd13.zip chromium_src-08577bba1a6f3c444453a9542c2acc94b46afd13.tar.gz chromium_src-08577bba1a6f3c444453a9542c2acc94b46afd13.tar.bz2 |
Trim small shadow bubble image assets.
Trim the assets to more tightly fit their visual contents.
(they had excessively large transparent internal padding)
Trim 8px/16px off of 100%/200% bubble border images.
Trim 2px/4px off of 100%/200% bubble arrow images.
(the bottom 1px of the 200% border had 1/255 alpha...)
Keeps dimension consistency needed by Views::BubbleBorder.
(more code flexibility would allow non-uniform trimming)
Edit Bookmark dialog pics: http://crbug.com/313400
(note the area trimmed from the edges of the window)
Update the bookmark bubble anchor insets to match.
(needed for anchoring with PAINT_NONE arrow and insets)
(no other bubbles should need this type of update, afaict)
Simplify BubbleDelegateTest.NonClientHitTest test cases.
(was too fragile, broken by minor image size changes)
BUG=313400
TEST=Non-Ash bubble-bordered windows have reduced bounds. No visual regressions in bubbles, new style dialogs, menus, etc.
R=sky@chromium.org,oshima@chromium.org
Review URL: https://codereview.chromium.org/53943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/bubble')
-rw-r--r-- | ui/views/bubble/bubble_delegate_unittest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/views/bubble/bubble_delegate_unittest.cc b/ui/views/bubble/bubble_delegate_unittest.cc index 183c41f..d8a1e7f 100644 --- a/ui/views/bubble/bubble_delegate_unittest.cc +++ b/ui/views/bubble/bubble_delegate_unittest.cc @@ -233,8 +233,6 @@ TEST_F(BubbleDelegateTest, NonClientHitTest) { const int hit; } cases[] = { { border, HTNOWHERE }, - { border + 5, HTNOWHERE }, - { border + 6, HTCLIENT }, { border + 50, HTCLIENT }, { 1000, HTNOWHERE }, }; |