diff options
author | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 19:15:40 +0000 |
---|---|---|
committer | calamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-07 19:15:40 +0000 |
commit | f5bf5c08fef32c261c75ffde2707cc9e2f87bb1f (patch) | |
tree | 6c08c640b4381a8717fe914d1c32159568f7f6d6 /apps/app_window_registry.cc | |
parent | dc9e70a815624fcb05493f8c7c9472e6585f9044 (diff) | |
download | chromium_src-f5bf5c08fef32c261c75ffde2707cc9e2f87bb1f.zip chromium_src-f5bf5c08fef32c261c75ffde2707cc9e2f87bb1f.tar.gz chromium_src-f5bf5c08fef32c261c75ffde2707cc9e2f87bb1f.tar.bz2 |
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
Diffstat (limited to 'apps/app_window_registry.cc')
-rw-r--r-- | apps/app_window_registry.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/app_window_registry.cc b/apps/app_window_registry.cc index 322ece9..cf4839a 100644 --- a/apps/app_window_registry.cc +++ b/apps/app_window_registry.cc @@ -45,6 +45,16 @@ std::string GetWindowKeyForRenderViewHost( namespace apps { +void AppWindowRegistry::Observer::OnAppWindowAdded(AppWindow* app_window) { +} + +void AppWindowRegistry::Observer::OnAppWindowIconChanged( + AppWindow* app_window) { +} + +void AppWindowRegistry::Observer::OnAppWindowRemoved(AppWindow* app_window) { +} + void AppWindowRegistry::Observer::OnAppWindowHidden(AppWindow* app_window) { } |