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

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

Issue 2790803002: mash: Remove V1 app shelf item locking; monitor running status instead. (Closed)
Patch Set: spelling Created 3 years, 9 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_status_monitor.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_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 266cbe8c788f31cebacaf63364af7210033cbd21..14381db46c5a82a8d19312d564e781a1a500bd15 100644
--- a/chrome/browser/ui/ash/launcher/browser_status_monitor.h
+++ b/chrome/browser/ui/ash/launcher/browser_status_monitor.h
@@ -98,8 +98,9 @@ class BrowserStatusMonitor : public aura::client::ActivationChangeObserver,
// profile implementations.
virtual void RemoveV1AppFromShelf(Browser* browser);
- // Check if V1 application is currently in the shelf.
+ // Check if a V1 application is currently in the shelf by browser or app id.
bool IsV1AppInShelf(Browser* browser);
+ bool IsV1AppInShelfWithAppId(const std::string& app_id);
private:
class LocalWebContentsObserver;
« no previous file with comments | « no previous file | chrome/browser/ui/ash/launcher/browser_status_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698