| Index: ui/app_list/presenter/app_list.cc
|
| diff --git a/ui/app_list/presenter/app_list.cc b/ui/app_list/presenter/app_list.cc
|
| index 76b36d8ce8afecc18ab71a8200f00ab49416bcf0..e6086d9a8dc18d4af26cd0cdb3bd7752b56ec345 100644
|
| --- a/ui/app_list/presenter/app_list.cc
|
| +++ b/ui/app_list/presenter/app_list.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ui/app_list/presenter/app_list.h"
|
|
|
| +#include "ui/app_list/presenter/app_list_delegate.h"
|
| +
|
| namespace app_list {
|
|
|
| AppList::AppList() {}
|
| @@ -49,8 +51,13 @@ void AppList::OnTargetVisibilityChanged(bool visible) {
|
| target_visible_ = visible;
|
| }
|
|
|
| -void AppList::OnVisibilityChanged(bool visible) {
|
| +void AppList::OnVisibilityChanged(bool visible, int64_t display_id) {
|
| + if (visible_ == visible)
|
| + return;
|
| +
|
| visible_ = visible;
|
| + if (delegate_)
|
| + delegate_->OnAppListVisibilityChanged(visible, display_id);
|
| }
|
|
|
| } // namespace app_list
|
|
|