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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h

Issue 2282023002: arc: Support window recreation. (Closed)
Patch Set: rebase + nits Created 4 years, 4 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/arc_app_window_launcher_item_controller.h
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
index 094559f0010c81a24d82de702aa33b5c828715e7..2960a0a0a25b6ffaf1bc54588c5eea69297794a9 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
#include <string>
+#include <unordered_set>
#include "base/macros.h"
#include "chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h"
@@ -22,10 +23,17 @@ class ArcAppWindowLauncherItemController
// LauncherItemController overrides:
base::string16 GetTitle() override;
+ ash::ShelfItemDelegate::PerformedAction ItemSelected(
+ const ui::Event& event) override;
ash::ShelfMenuModel* CreateApplicationMenu(int event_flags) override;
ChromeLauncherAppMenuItems GetApplicationList(int event_flags) override;
+ void AddTaskId(int task_id);
+ void RemoveTaskId(int task_id);
+
private:
+ std::unordered_set<int> task_ids_;
+
DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherItemController);
};

Powered by Google App Engine
This is Rietveld 408576698