blob: 227d3844e2064bfa3d99f51089217c29b55a75c0 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_APP_LIST_APP_LIST_CONTROLLER_OBSERVER_H_
#define ASH_APP_LIST_APP_LIST_CONTROLLER_OBSERVER_H_
#include "ash/ash_export.h"
#include "base/observer_list_types.h"
namespace ash {
class ASH_EXPORT AppListControllerObserver : public base::CheckedObserver {
public:
// Called when the AppList is shown or dismissed.
virtual void OnAppListVisibilityChanged(bool shown, int64_t display_id) {}
// Called when the HomeLauncher has started to be dragged, or a positional
// animation has begin.
virtual void OnHomeLauncherTargetPositionChanged(bool showing,
int64_t display_id) {}
// Called when the HomeLauncher positional animation has completed.
virtual void OnHomeLauncherAnimationComplete(bool shown, int64_t display_id) {
}
};
} // namespace ash
#endif // ASH_APP_LIST_APP_LIST_CONTROLLER_OBSERVER_H_