Index: ui/aura_shell/launcher/launcher_model.h |
diff --git a/ui/aura_shell/launcher/launcher_model.h b/ui/aura_shell/launcher/launcher_model.h |
index 242129e25ef8935ed74f2303a95353aadc4d75cf..579a673cffb61d7d369630cfc97e2c4ae34fd28b 100644 |
--- a/ui/aura_shell/launcher/launcher_model.h |
+++ b/ui/aura_shell/launcher/launcher_model.h |
@@ -12,8 +12,8 @@ |
#include "ui/aura_shell/aura_shell_export.h" |
#include "ui/aura_shell/launcher/launcher_types.h" |
-namespace views { |
-class View; |
+namespace aura { |
+class Window; |
} |
namespace aura_shell { |
@@ -36,6 +36,11 @@ class AURA_SHELL_EXPORT LauncherModel { |
void SetTabbedImages(int index, const LauncherTabbedImages& images); |
void SetAppImage(int index, const SkBitmap& image); |
+ // Returns the index of the item with the specified window. |
+ int ItemIndexByWindow(aura::Window* window); |
+ |
+ LauncherItems::const_iterator ItemByWindow(aura::Window* window) const; |
+ |
const LauncherItems& items() const { return items_; } |
int item_count() const { return static_cast<int>(items_.size()); } |