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

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

Issue 23534022: Handling browser item status in BrowserShortcutLauncherItemController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CreateAppAndBrowserState() Created 7 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 009fba0896391c1952cb4d9393027df1ca5566c8..0565dd6ab4b426b294563551206bb9bd5940bfb4 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 UpdateBrowserItemState();
+
// LauncherItemController overrides:
virtual string16 GetTitle() OVERRIDE;
virtual bool IsCurrentlyShownInWindow(aura::Window* window) const OVERRIDE;
@@ -55,6 +58,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);
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698