Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2539)

Unified Diff: ash/test/shelf_view_test_api.cc

Issue 1998933002: Update shelf spacing in Chrome OS according to the MD specs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/test/shelf_view_test_api.cc
diff --git a/ash/test/shelf_view_test_api.cc b/ash/test/shelf_view_test_api.cc
index f8c0754c2aa9ae0cd6d4c2d976af25c9737a60f1..d6dd01267840da8d6c783e7b5bc02f5f20647433 100644
--- a/ash/test/shelf_view_test_api.cc
+++ b/ash/test/shelf_view_test_api.cc
@@ -111,11 +111,11 @@ gfx::Size ShelfViewTestAPI::GetPreferredSize() {
}
int ShelfViewTestAPI::GetButtonSize() {
- return kShelfButtonSize;
+ return GetShelfConstant(SHELF_BUTTON_SIZE);
}
int ShelfViewTestAPI::GetButtonSpacing() {
- return kShelfButtonSpacing;
+ return GetShelfConstant(SHELF_BUTTON_SPACING);
}
void ShelfViewTestAPI::ButtonPressed(views::Button* sender,

Powered by Google App Engine
This is Rietveld 408576698