Index: chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h |
diff --git a/chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h |
index ae1b654b6508c657b2a219e26df07c63745c283e..c56483388c784f42f5a6909816544092addd1a79 100644 |
--- a/chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h |
+++ b/chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h |
@@ -105,6 +105,9 @@ class ChromeLauncherController : public ash::LauncherDelegate, |
// Invoked when the underlying browser/app is closed. |
void LauncherItemClosed(ash::LauncherID id); |
+ // Pins the specified id. Currently only supports platform apps. |
+ void Pin(ash::LauncherID id); |
+ |
// Unpins the specified id, closing if not running. |
void Unpin(ash::LauncherID id); |
@@ -221,8 +224,6 @@ class ChromeLauncherController : public ash::LauncherDelegate, |
Item(); |
~Item(); |
- bool is_pinned() const { return controller == NULL; } |
- |
// Type of item. |
ItemType item_type; |