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

Unified Diff: ash/shelf/shelf_delegate.h

Issue 2007003002: mash: Preliminary support for shelf auto-hide (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shutdown
Patch Set: rebase Created 4 years, 7 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/screen_util.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_delegate.h
diff --git a/ash/shelf/shelf_delegate.h b/ash/shelf/shelf_delegate.h
index 16e041c4e454904b0b68dcd2282c408ac5513c33..fa0988e3d5e826a4c366d3b58178c9ec817b8db1 100644
--- a/ash/shelf/shelf_delegate.h
+++ b/ash/shelf/shelf_delegate.h
@@ -31,6 +31,12 @@ class ASH_EXPORT ShelfDelegate {
// Called when |shelf|'s auto-hide behavior changes.
virtual void OnShelfAutoHideBehaviorChanged(Shelf* shelf) = 0;
+ // Called when |shelf|'s auto-hide state changes.
+ virtual void OnShelfAutoHideStateChanged(Shelf* shelf) = 0;
+
+ // Called when |shelf|'s visibility state is committed.
+ virtual void OnShelfVisibilityStateChanged(Shelf* shelf) = 0;
+
// Get the shelf ID from an application ID.
virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0;
« no previous file with comments | « ash/screen_util.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698