summaryrefslogtreecommitdiffstats
path: root/ash/shelf
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 12:53:19 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-22 12:53:19 +0000
commit801847c51282ac3fab316eb7ca482c38b60226a5 (patch)
treeadce7dfc75e34d968a54903c11db99975dedc4a8 /ash/shelf
parent275d5a57a8bab04c9e12307dba0fadaa822014e9 (diff)
downloadchromium_src-801847c51282ac3fab316eb7ca482c38b60226a5.zip
chromium_src-801847c51282ac3fab316eb7ca482c38b60226a5.tar.gz
chromium_src-801847c51282ac3fab316eb7ca482c38b60226a5.tar.bz2
Sets 4px offset for status area tray items.
Once the notification tray was slightly bigger and this offset was done. Without this change, the system tray and notification tray are positioned slightly below, and its bubbles are also positioned below. BUG=242230 R=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/15494010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shelf')
-rw-r--r--ash/shelf/shelf_layout_manager_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shelf/shelf_layout_manager_unittest.cc b/ash/shelf/shelf_layout_manager_unittest.cc
index 58e4881..d6e6f28 100644
--- a/ash/shelf/shelf_layout_manager_unittest.cc
+++ b/ash/shelf/shelf_layout_manager_unittest.cc
@@ -1424,7 +1424,7 @@ TEST_F(ShelfLayoutManagerTest, BubbleEnlargesShelfMouseHitArea) {
}
// Move the pointer over the edge of the shelf.
generator.MoveMouseTo(
- center.x(), status_area_widget->GetWindowBoundsInScreen().y() - 12);
+ center.x(), status_area_widget->GetWindowBoundsInScreen().y() - 8);
shelf->UpdateVisibilityState();
if (i) {
EXPECT_TRUE(shelf->IsVisible());