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

Unified Diff: ash/common/test/test_shelf_item_delegate.cc

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/test/test_shelf_item_delegate.cc
diff --git a/ash/common/test/test_shelf_item_delegate.cc b/ash/common/test/test_shelf_item_delegate.cc
index 96916d677e071fa598307e4d01be04f208a63b09..c618e93179e163c1d614807600aeef3c0bdd24e6 100644
--- a/ash/common/test/test_shelf_item_delegate.cc
+++ b/ash/common/test/test_shelf_item_delegate.cc
@@ -69,6 +69,10 @@ bool TestShelfItemDelegate::ShouldShowTooltip() {
return true;
}
+bool TestShelfItemDelegate::IsOpen() const {
+ return window_ != nullptr;
+}
+
void TestShelfItemDelegate::Close() {}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698