summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 14:06:46 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-01 14:06:46 +0000
commit08577bba1a6f3c444453a9542c2acc94b46afd13 (patch)
treecf5c3f6c523ab228cb0555bd74504c997f160e66 /ui
parented259d2270aedea10d67a9852255018d56232b73 (diff)
downloadchromium_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')
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom.pngbin85 -> 165 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_left.pngbin144 -> 231 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_bottom_right.pngbin145 -> 231 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_left.pngbin80 -> 151 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_right.pngbin78 -> 150 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_top.pngbin78 -> 149 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_top_left.pngbin120 -> 195 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_small_top_right.pngbin121 -> 194 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_bottom.pngbin191 -> 316 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_left.pngbin157 -> 247 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_right.pngbin160 -> 239 bytes
-rw-r--r--ui/resources/default_100_percent/common/window_bubble_shadow_spike_small_top.pngbin121 -> 227 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom.pngbin101 -> 185 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_left.pngbin227 -> 364 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_bottom_right.pngbin221 -> 367 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_left.pngbin90 -> 179 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_right.pngbin87 -> 179 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_top.pngbin81 -> 169 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_top_left.pngbin162 -> 292 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_small_top_right.pngbin165 -> 291 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_bottom.pngbin474 -> 720 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_left.pngbin362 -> 579 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_right.pngbin368 -> 568 bytes
-rw-r--r--ui/resources/default_200_percent/common/window_bubble_shadow_spike_small_top.pngbin248 -> 442 bytes
-rw-r--r--ui/views/bubble/bubble_delegate_unittest.cc2
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ
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 },
};