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

Unified Diff: ash/mus/shelf_delegate_mus.h

Issue 1899323002: Add mash shelf application id support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address simpler comments. 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
« 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 c9365922f239ad5cde4ef67866d18b2bebbb18d3..7b79c691c5ab2333b9179f44b94b68d1dad0252a 100644
--- a/ash/mus/shelf_delegate_mus.h
+++ b/ash/mus/shelf_delegate_mus.h
@@ -46,10 +46,10 @@ class ShelfDelegateMus : public ShelfDelegate,
void SetAlignment(mash::shelf::mojom::Alignment alignment) override;
void SetAutoHideBehavior(
mash::shelf::mojom::AutoHideBehavior auto_hide) override;
- void AddItem(
+ void PinItem(
mash::shelf::mojom::ShelfItemPtr item,
mash::shelf::mojom::ShelfItemDelegateAssociatedPtrInfo delegate) override;
- void RemoveItem(const mojo::String& id) override;
+ void UnpinItem(const mojo::String& app_id) override;
// mash::wm::mojom::UserWindowObserver:
void OnUserWindowObserverAdded(
« 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