Index: chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h |
index a34ba49e8379ce2ee02ee70c7e501770ee92e7fa..d6727fe2fc07c0dea297e62bb2407c13aa214f62 100644 |
--- a/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h |
+++ b/chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.h |
@@ -9,6 +9,7 @@ |
#include <map> |
#include <string> |
+#include "ash/shelf/shelf_util.h" |
#include "base/macros.h" |
#include "chrome/browser/ui/ash/launcher/app_window_launcher_controller.h" |
#include "extensions/browser/app_window/app_window_registry.h" |
@@ -67,6 +68,7 @@ class ExtensionAppWindowLauncherController |
using AppControllerMap = |
std::map<std::string, ExtensionAppWindowLauncherItemController*>; |
using WindowToAppShelfIdMap = std::map<aura::Window*, std::string>; |
+ using AppShelfIdToShelfIdMap = std::map<std::string, ash::ShelfID>; |
// A set of unowned AppWindowRegistry pointers for loaded users. |
// Note that this will only be used with multiple users in the side by side |
@@ -79,6 +81,9 @@ class ExtensionAppWindowLauncherController |
// Allows us to get from an aura::Window to the app shelf id. |
WindowToAppShelfIdMap window_to_app_shelf_id_map_; |
+ // Map of app shelf id to shelf id. |
+ AppShelfIdToShelfIdMap app_shelf_id_to_shelf_id_map_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ExtensionAppWindowLauncherController); |
}; |