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 | |
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')
25 files changed, 0 insertions, 2 deletions
diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom.png Binary files differindex ea6759a..e25d940 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_left.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_left.png Binary files differindex 5982818..288f805 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_left.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_left.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_right.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_right.png Binary files differindex 0b5c35a..140e1b2 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_right.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_right.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_left.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_left.png Binary files differindex b7ce6e0..ac457b7 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_left.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_left.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_right.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_right.png Binary files differindex bc2db9e..9c2b381 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_right.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_right.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top.png Binary files differindex 0716b4e..316e65e 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_left.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_left.png Binary files differindex e1a1dd7..fa9472c 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_left.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_left.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_right.png b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_right.png Binary files differindex c72a518..749c42f 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_right.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_small_top_right.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_bottom.png b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_bottom.png Binary files differindex 5350c84..6c03919 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_bottom.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_bottom.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_left.png b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_left.png Binary files differindex e17fdd4..8cfc1d7bf 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_left.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_left.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_right.png b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_right.png Binary files differindex 54403b6..bb56fde 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_right.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_right.png diff --git a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_top.png b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_top.png Binary files differindex 0a8be4f..8ae2c50 100644 --- a/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_top.png +++ b/ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_top.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom.png Binary files differindex 8b5d185..d3df9c3 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_left.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_left.png Binary files differindex a5cff39..cd853ad 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_left.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_left.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_right.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_right.png Binary files differindex 64e737c..65f9912 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_right.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_right.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_left.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_left.png Binary files differindex fb24035..3b668d5 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_left.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_left.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_right.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_right.png Binary files differindex 4efa653..6ea8d80 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_right.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_right.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top.png Binary files differindex a18c1b0..13e6a0a 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_left.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_left.png Binary files differindex e547766..cd71842 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_left.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_left.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_right.png b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_right.png Binary files differindex a5124c8..99d6a3d 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_right.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_small_top_right.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_bottom.png b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_bottom.png Binary files differindex 7145992..56cefba 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_bottom.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_bottom.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_left.png b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_left.png Binary files differindex 944875e..f5fd7e5 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_left.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_left.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_right.png b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_right.png Binary files differindex a5b3100..fc27ebf 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_right.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_right.png diff --git a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_top.png b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_top.png Binary files differindex b2187bf..da2cbd5 100644 --- a/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_top.png +++ b/ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_top.png 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 }, }; |