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

Unified Diff: ash/shelf/shelf_delegate.h

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_delegate.h
diff --git a/ash/shelf/shelf_delegate.h b/ash/shelf/shelf_delegate.h
index 32f08a3aa221b6d50eb3fb7b330a4ae8c0689c75..16e041c4e454904b0b68dcd2282c408ac5513c33 100644
--- a/ash/shelf/shelf_delegate.h
+++ b/ash/shelf/shelf_delegate.h
@@ -25,6 +25,12 @@ class ASH_EXPORT ShelfDelegate {
// exists.
virtual void OnShelfDestroyed(Shelf* shelf) = 0;
+ // Called when |shelf|'s alignment changes.
+ virtual void OnShelfAlignmentChanged(Shelf* shelf) = 0;
+
+ // Called when |shelf|'s auto-hide behavior changes.
+ virtual void OnShelfAutoHideBehaviorChanged(Shelf* shelf) = 0;
+
// Get the shelf ID from an application ID.
virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698