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

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: Created 4 years, 7 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 53ef6c78195cdd7473e9dff31dc8ccc0c572bd7f..fe3d894750ffd5a04a3ec9c81a5620687ec07702 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 GetShelfLayoutConstant(SHELF_BUTTON_SIZE);
}
int ShelfViewTestAPI::GetButtonSpacing() {
- return kShelfButtonSpacing;
+ return GetShelfLayoutConstant(SHELF_BUTTON_SPACING);
}
void ShelfViewTestAPI::ButtonPressed(views::Button* sender,

Powered by Google App Engine
This is Rietveld 408576698