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 fa22849f1bb93f665595f9bfed54f49449933b8c..940bdb1ec0a58c73a30b4be9f86a1fb858bb8aca 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 |
@@ -69,15 +69,6 @@ void AppWindowLauncherItemController::SetActiveWindow(aura::Window* window) { |
last_active_window_ = app_window; |
} |
-bool AppWindowLauncherItemController::IsVisible() const { |
- // Return true if any windows are visible. |
- for (const auto* window : windows_) { |
- if (window->GetNativeWindow()->IsVisible()) |
- return true; |
- } |
- return false; |
-} |
- |
void AppWindowLauncherItemController::Launch(ash::LaunchSource source, |
int event_flags) { |
launcher_controller()->LaunchApp(app_id(), source, ui::EF_NONE); |