blob: 808b9952b698046ab637ddde0117af57cab4990c [file]
// Copyright 2016 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_COMMON_SHELF_WM_SHELF_OBSERVER_H_
#define ASH_COMMON_SHELF_WM_SHELF_OBSERVER_H_
#include "ash/ash_export.h"
#include "ash/common/wm/background_animator.h"
#include "ash/public/cpp/shelf_types.h"
namespace ash {
// Used to observe changes to the shelf.
class ASH_EXPORT WmShelfObserver {
public:
virtual void OnBackgroundTypeChanged(
ShelfBackgroundType background_type,
BackgroundAnimatorChangeType change_type) {}
virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
virtual void OnShelfIconPositionsChanged() {}
protected:
virtual ~WmShelfObserver() {}
};
} // namespace ash
#endif // ASH_COMMON_SHELF_WM_SHELF_OBSERVER_H_