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

Unified Diff: ash/shell/shelf_delegate_impl.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/shelf/shelf_widget_unittest.cc ('k') | ash/shell/shelf_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shelf_delegate_impl.h
diff --git a/ash/shell/shelf_delegate_impl.h b/ash/shell/shelf_delegate_impl.h
index 6691b1e3d859b153b566147c56c3cde668f95e8b..ebfd1b70e011f451f8eda79353c807b032d5c0d0 100644
--- a/ash/shell/shelf_delegate_impl.h
+++ b/ash/shell/shelf_delegate_impl.h
@@ -12,6 +12,8 @@
namespace ash {
namespace shell {
+// TODO(jamescook): Replace with TestShelfDelegate so we don't have to maintain
+// two stub implementations.
class ShelfDelegateImpl : public ShelfDelegate {
public:
ShelfDelegateImpl();
@@ -22,6 +24,8 @@ class ShelfDelegateImpl : 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 | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/shell/shelf_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698