Index: chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h |
index c7583f87808dc4d84f244b606da63998c2c188e1..9666a3f5d3fb85f80edc11649001882d59e9ed7c 100644 |
--- a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h |
+++ b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h |
@@ -27,6 +27,9 @@ class BrowserShortcutLauncherItemController : public LauncherItemController { |
virtual ~BrowserShortcutLauncherItemController(); |
+ // Updates the activation state of the Broswer item. |
+ void UpdateBrowserItemStatus(); |
+ |
// LauncherItemController overrides: |
virtual string16 GetTitle() OVERRIDE; |
virtual bool IsCurrentlyShownInWindow(aura::Window* window) const OVERRIDE; |
@@ -58,6 +61,10 @@ class BrowserShortcutLauncherItemController : public LauncherItemController { |
// Activate a browser - or advance to the next one on the list. |
void ActivateOrAdvanceToNextBrowser(); |
+ // Returns true when the given |browser| is listed in the browser application |
+ // list. |
+ bool IsBrowserRepresentedInBrowserList(Browser* browser); |
+ |
Profile* profile_; |
DISALLOW_COPY_AND_ASSIGN(BrowserShortcutLauncherItemController); |