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

Unified Diff: chrome/browser/ui/ash/launcher/browser_status_monitor.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
Index: chrome/browser/ui/ash/launcher/browser_status_monitor.h
diff --git a/chrome/browser/ui/ash/launcher/browser_status_monitor.h b/chrome/browser/ui/ash/launcher/browser_status_monitor.h
index 50840b443538aadcd43323260c55fbda8cfa2ee1..64098c3e331da93ed16f306fe29d74bba77dae0b 100644
--- a/chrome/browser/ui/ash/launcher/browser_status_monitor.h
+++ b/chrome/browser/ui/ash/launcher/browser_status_monitor.h
@@ -79,8 +79,12 @@ class BrowserStatusMonitor : public aura::client::ActivationChangeObserver,
private:
typedef std::map<Browser*, std::string> BrowserToAppIDMap;
- // Update app state for |contents|.
- void UpdateAppState(content::WebContents* contents);
+ // Update app state for |contents| and browser state.
+ void UpdateAppAndBrowserState(content::WebContents* contents);
+
+ // A shortcut to call the BrowserShortcutLauncherItemController's
+ // UpdateBrowserItemState().
+ void UpdateBrowserItemState();
ChromeLauncherController* launcher_controller_;

Powered by Google App Engine
This is Rietveld 408576698