Don't include hidden windows in IsAppWindowRegisteredInAnyProfile.
commit261f7f3a466211792b0613c0d736e069fa1a7cc2
authorjackhou <jackhou@chromium.org>
Wed, 7 Jan 2015 00:59:03 +0000 (6 16:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 7 Jan 2015 01:00:12 +0000 (7 01:00 +0000)
tree749aafca43174d6bcdd4faff39af8296a0f4fb54
parent79582464b500f76ee3a11b364160531442b90576
Don't include hidden windows in IsAppWindowRegisteredInAnyProfile.

All the places that use this function are checking whether there are any app
windows from the point of view of the user.

BUG=442280

Review URL: https://codereview.chromium.org/800473006

Cr-Commit-Position: refs/heads/master@{#310196}
chrome/browser/app_controller_mac.mm
chrome/browser/apps/app_shim/app_shim_handler_mac.cc
chrome/browser/apps/app_window_registry_util.cc
chrome/browser/apps/app_window_registry_util.h
chrome/browser/ui/apps/apps_metro_handler_win.cc
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc
chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.cc