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

Unified Diff: ash/mus/shelf_delegate_mus.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 | « no previous file | ash/mus/shelf_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shelf_delegate_mus.h
diff --git a/ash/mus/shelf_delegate_mus.h b/ash/mus/shelf_delegate_mus.h
index 5baba1b38147dc32f5b83054ad86d998a1f9a17a..40a282338380e4f3b5c4a625536aa9515a925b6c 100644
--- a/ash/mus/shelf_delegate_mus.h
+++ b/ash/mus/shelf_delegate_mus.h
@@ -20,6 +20,8 @@ class ShelfModel;
namespace sysui {
+// Manages communication between the ash_sysui shelf, the window manager, and
+// the browser.
class ShelfDelegateMus : public ShelfDelegate,
public mash::shelf::mojom::ShelfController,
public mash::wm::mojom::UserWindowObserver {
@@ -33,6 +35,8 @@ class ShelfDelegateMus : public ShelfDelegate,
void OnShelfDestroyed(Shelf* shelf) override;
void OnShelfAlignmentChanged(Shelf* shelf) override;
void OnShelfAutoHideBehaviorChanged(Shelf* shelf) override;
+ void OnShelfAutoHideStateChanged(Shelf* shelf) override;
+ void OnShelfVisibilityStateChanged(Shelf* shelf) override;
ShelfID GetShelfIDForAppID(const std::string& app_id) override;
bool HasShelfIDToAppIDMapping(ShelfID id) const override;
const std::string& GetAppIDForShelfID(ShelfID id) override;
« no previous file with comments | « no previous file | ash/mus/shelf_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698