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

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

Issue 2747983002: arc: Fix crash on deferred app launch. (Closed)
Patch Set: Created 3 years, 9 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
Index: chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
index 1bff289c70aefa1ef259da4d1eac6242342c18ae..1212d2bd6baf98a513e1f7ba883c6a735c6b9ed9 100644
--- a/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc
@@ -188,6 +188,10 @@ void AppShortcutLauncherItemController::Close() {
}
}
+bool AppShortcutLauncherItemController::IsShortcut() const {
+ return true;
msw 2017/03/14 01:24:59 What does it mean if LauncherItemController::IsSho
khmel 2017/03/14 15:25:44 Hi, I don't clear understand your idea. The reason
msw 2017/03/14 17:19:32 My idea is to update and check ShelfItem struct va
khmel 2017/03/14 20:19:56 Done as per offline discussion.
+}
+
std::vector<content::WebContents*>
AppShortcutLauncherItemController::GetRunningApplications() {
std::vector<content::WebContents*> items;

Powered by Google App Engine
This is Rietveld 408576698