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

Unified Diff: ash/test/shelf_view_test_api.cc

Issue 140323010: Ash:Shelf - Cleanup of Alternate Shelf (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ButtonSize and ButtonSpacing moved to shelf_constants Created 6 years, 11 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 2147ada50b94e166973c5d2789f386534bfccd65..1b4e453ea13f8b8aecfc7a7b62d19496d59fb3f8 100644
--- a/ash/test/shelf_view_test_api.cc
+++ b/ash/test/shelf_view_test_api.cc
@@ -6,6 +6,7 @@
#include "ash/shelf/overflow_button.h"
#include "ash/shelf/shelf_button.h"
+#include "ash/shelf/shelf_constants.h"
#include "ash/shelf/shelf_model.h"
#include "ash/shelf/shelf_view.h"
#include "base/message_loop/message_loop.h"
@@ -108,11 +109,11 @@ gfx::Size ShelfViewTestAPI::GetPreferredSize() {
}
int ShelfViewTestAPI::GetButtonSize() {
- return shelf_view_->GetButtonSize();
+ return kShelfButtonSize;
}
int ShelfViewTestAPI::GetButtonSpacing() {
- return shelf_view_->GetButtonSpacing();
+ return kShelfButtonSpacing;
}
bool ShelfViewTestAPI::SameDragType(ShelfItemType typea,

Powered by Google App Engine
This is Rietveld 408576698