third_party: Add OWNERS for re2 library.
[chromium-blink-merge.git] / ash / shelf / shelf_layout_manager_observer.h
blob8a2d5830df780c31b9d94b2e9eca9e1db1b140af
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_
6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_
8 #include "ash/ash_export.h"
9 #include "ash/shelf/background_animator.h"
10 #include "ash/shelf/shelf_types.h"
12 namespace aura {
13 class Window;
16 namespace ash {
18 class ASH_EXPORT ShelfLayoutManagerObserver {
19 public:
20 virtual ~ShelfLayoutManagerObserver() {}
22 // Called when the target ShelfLayoutManager will be deleted.
23 virtual void WillDeleteShelf() {}
25 // Called when the visibility change is scheduled.
26 virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
28 // Called when the auto hide state is changed.
29 virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
31 // Called when the auto hide behavior is changed.
32 virtual void OnAutoHideBehaviorChanged(aura::Window* root_window,
33 ShelfAutoHideBehavior new_behavior) {}
35 // Called when shelf background animation is started.
36 virtual void OnBackgroundUpdated(
37 ShelfBackgroundType background_type,
38 BackgroundAnimatorChangeType change_type) {}
41 } // namespace ash
43 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_