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

Unified Diff: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc

Issue 2487953003: Remove LauncherItemController::IsOpen, check ShelfItem::status. (Closed)
Patch Set: Address comments. 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: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
index 7f1e3028dca558639bcb31b100ac1090d4b45355..323ad0e619383fe00ce6587a5f6505ea36bcb0e2 100644
--- a/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc
@@ -72,10 +72,6 @@ void AppWindowLauncherItemController::SetActiveWindow(aura::Window* window) {
last_active_window_ = app_window;
}
-bool AppWindowLauncherItemController::IsOpen() const {
- return !windows_.empty();
-}
-
bool AppWindowLauncherItemController::IsVisible() const {
// Return true if any windows are visible.
for (const auto* window : windows_) {

Powered by Google App Engine
This is Rietveld 408576698