blob: 8a4eb2eb857f58d1d900223d4990169767994ed3 [file] [log] [blame]
// Copyright 2013 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.
#include "ash/ash_export.h"
#include "ash/public/cpp/shelf_types.h"
#include "ash/shelf/shelf_background_animator.h"
namespace ash {
enum class AnimationChangeType;
class ASH_EXPORT ShelfLayoutManagerObserver {
virtual ~ShelfLayoutManagerObserver() {}
// Called when the target ShelfLayoutManager will be deleted.
virtual void WillDeleteShelfLayoutManager() {}
// Called when the visibility change is scheduled.
virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
// Called when the auto hide state is changed.
virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
// Called when shelf background animation is started.
virtual void OnBackgroundUpdated(ShelfBackgroundType background_type,
AnimationChangeType change_type) {}
// Called when the hotseat state changes.
virtual void OnHotseatStateChanged(HotseatState state) {}
// Called when ShelfLayoutManager has updated Shelf insets in work area
// insets.
virtual void OnWorkAreaInsetsChanged() {}
} // namespace ash