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

Unified Diff: ash/common/shelf/shelf_item_delegate.h

Issue 2462753002: Use Ash's ShelfWindowWatcher for app panel windows. (Closed)
Patch Set: Add ShelfWindowWatcherTest, remove ChromeLauncherControllerImplTest panel use. Created 4 years, 1 month 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/common/shelf/shelf_item_delegate.h
diff --git a/ash/common/shelf/shelf_item_delegate.h b/ash/common/shelf/shelf_item_delegate.h
index 3452b83a5225bebe713528a691a1c13a4740348c..1358521ea3bb2cfc73f9504d5608d889dcaaf5ba 100644
--- a/ash/common/shelf/shelf_item_delegate.h
+++ b/ash/common/shelf/shelf_item_delegate.h
@@ -70,6 +70,9 @@ class ASH_EXPORT ShelfItemDelegate {
// Returns true if a tooltip should be shown.
virtual bool ShouldShowTooltip() = 0;
+ // Returns true if this item is open.
+ virtual bool IsOpen() const = 0;
+
// Closes all windows associated with this item.
virtual void Close() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698