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

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: cleanup 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
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..931ab4dbe7ceb4bb6299ead64b240f783c5fe058 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(std::string app_id);
James Cook 2017/03/31 01:07:41 nit: const &
msw 2017/03/31 03:27:14 Done.
private:
class LocalWebContentsObserver;

Powered by Google App Engine
This is Rietveld 408576698