Add default implementations for AppWindowRegistry::Observer notifications.
commitf5bf5c08fef32c261c75ffde2707cc9e2f87bb1f
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 7 May 2014 19:15:40 +0000 (7 19:15 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 7 May 2014 19:15:40 +0000 (7 19:15 +0000)
tree6c08c640b4381a8717fe914d1c32159568f7f6d6
parentdc9e70a815624fcb05493f8c7c9472e6585f9044
Add default implementations for AppWindowRegistry::Observer notifications.

This CL adds default implementations for AppWindowRegistry notifications
as suggested in https://codereview.chromium.org/234673002.

This allows observers to avoid writing their own empty implementations of
unwanted notifications.

BUG=363470
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268890 0039d316-1c4b-4281-b951-d872f2087c98
20 files changed:
apps/app_lifetime_monitor.cc
apps/app_lifetime_monitor.h
apps/app_window_registry.cc
apps/app_window_registry.h
chrome/browser/apps/app_browsertest.cc
chrome/browser/chromeos/app_mode/app_session_lifetime.cc
chrome/browser/chromeos/login/app_launch_controller.cc
chrome/browser/chromeos/login/test/app_window_waiter.cc
chrome/browser/chromeos/login/test/app_window_waiter.h
chrome/browser/chromeos/policy/device_local_account_browsertest.cc
chrome/browser/extensions/api/app_window/app_window_apitest.cc
chrome/browser/extensions/api/identity/web_auth_flow.cc
chrome/browser/extensions/api/identity/web_auth_flow.h
chrome/browser/policy/policy_browsertest.cc
chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc
chrome/browser/ui/ash/launcher/app_window_launcher_controller.h
chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
chrome/browser/ui/ash/system_tray_delegate_chromeos.h