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

Unified Diff: ash/test/test_shelf_delegate.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/test/test_shelf_delegate.cc
diff --git a/ash/test/test_shelf_delegate.cc b/ash/test/test_shelf_delegate.cc
index 232c46c71c6541f7faac14e14bbe03a33bd67118..affed052373d01ea049eb0041b70d0bf636b2cad 100644
--- a/ash/test/test_shelf_delegate.cc
+++ b/ash/test/test_shelf_delegate.cc
@@ -90,11 +90,13 @@ void TestShelfDelegate::OnWindowHierarchyChanging(
RemoveShelfItemForWindow(params.target);
}
-void TestShelfDelegate::OnShelfCreated(Shelf* shelf) {
-}
+void TestShelfDelegate::OnShelfCreated(Shelf* shelf) {}
-void TestShelfDelegate::OnShelfDestroyed(Shelf* shelf) {
-}
+void TestShelfDelegate::OnShelfDestroyed(Shelf* shelf) {}
+
+void TestShelfDelegate::OnShelfAlignmentChanged(Shelf* shelf) {}
+
+void TestShelfDelegate::OnShelfAutoHideBehaviorChanged(Shelf* shelf) {}
ShelfID TestShelfDelegate::GetShelfIDForAppID(const std::string& app_id) {
for (auto const& iter : shelf_id_to_app_id_map_) {

Powered by Google App Engine
This is Rietveld 408576698