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

Unified Diff: chrome/browser/apps/app_shim/app_shim_handler_mac.cc

Issue 800473006: Don't include hidden windows in IsAppWindowRegisteredInAnyProfile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 11 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/apps/app_shim/app_shim_handler_mac.cc
diff --git a/chrome/browser/apps/app_shim/app_shim_handler_mac.cc b/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
index e3bebd85fe9498994ba5e363799bc8ad743cc39a..c7801ad76dd50cf4ac4f3adebcbc5bcf7a1e3029 100644
--- a/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
+++ b/chrome/browser/apps/app_shim/app_shim_handler_mac.cc
@@ -24,7 +24,7 @@ namespace {
void TerminateIfNoAppWindows() {
bool app_windows_left =
- AppWindowRegistryUtil::IsAppWindowRegisteredInAnyProfile(0);
+ AppWindowRegistryUtil::IsAppWindowVisibleInAnyProfile(0);
if (!app_windows_left &&
!AppListService::Get(chrome::HOST_DESKTOP_TYPE_NATIVE)
->IsAppListVisible()) {

Powered by Google App Engine
This is Rietveld 408576698