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

Unified Diff: ash/shelf/shelf_view_unittest.cc

Issue 1851883002: Cleanup shelf initialization and observation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check for shelf before setting prefs in ChromeLauncherController. Created 4 years, 8 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/shelf/shelf_view_unittest.cc
diff --git a/ash/shelf/shelf_view_unittest.cc b/ash/shelf/shelf_view_unittest.cc
index 76655c3baab035322051ff7a0ef2483a3c3f57ed..2888436d7f362eca090cd5e1788ad069d6dc6236 100644
--- a/ash/shelf/shelf_view_unittest.cc
+++ b/ash/shelf/shelf_view_unittest.cc
@@ -250,6 +250,10 @@ class TestShelfDelegateForShelfView : public ShelfDelegate {
void OnShelfDestroyed(Shelf* shelf) override {}
+ void OnShelfAlignmentChanged(Shelf* shelf) override {}
+
+ void OnShelfAutoHideBehaviorChanged(Shelf* shelf) override {}
+
ShelfID GetShelfIDForAppID(const std::string& app_id) override {
ShelfID id = 0;
EXPECT_TRUE(base::StringToInt(app_id, &id));

Powered by Google App Engine
This is Rietveld 408576698