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

Unified Diff: ash/test/shelf_view_test_api.cc

Issue 2712293002: Remove non-MD code from ShelfButton (Closed)
Patch Set: Rebased Created 3 years, 10 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
« no previous file with comments | « ash/resources/default_200_percent/common/shelf/shelf_underline_running.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 92afe5db3bb10c3486847aaa680032aa9bb38dae..b1c7655bf774e68f2e08e21bcfbe6f4fdada00b5 100644
--- a/ash/test/shelf_view_test_api.cc
+++ b/ash/test/shelf_view_test_api.cc
@@ -136,11 +136,11 @@ gfx::Size ShelfViewTestAPI::GetPreferredSize() {
}
int ShelfViewTestAPI::GetButtonSize() {
James Cook 2017/02/28 20:35:11 nit: Since this and GetButtonSpacing() just return
mohsen 2017/02/28 21:05:16 Sure, I didn't remove these methods because GetMin
- return GetShelfConstant(SHELF_BUTTON_SIZE);
+ return kShelfButtonSize;
}
int ShelfViewTestAPI::GetButtonSpacing() {
- return GetShelfConstant(SHELF_BUTTON_SPACING);
+ return kShelfButtonSpacing;
}
int ShelfViewTestAPI::GetMinimumDragDistance() const {
« no previous file with comments | « ash/resources/default_200_percent/common/shelf/shelf_underline_running.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698