Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: ash/common/shelf/shelf_layout_manager_observer.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/shelf/shelf_item_delegate.h ('k') | ash/common/shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_ 5 #ifndef ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_
6 #define ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_ 6 #define ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/background_animator.h" 9 #include "ash/common/wm/background_animator.h"
10 #include "ash/public/cpp/shelf_types.h" 10 #include "ash/public/cpp/shelf_types.h"
11 11
12 namespace aura {
13 class Window;
14 }
15
16 namespace ash { 12 namespace ash {
17 13
18 class ASH_EXPORT ShelfLayoutManagerObserver { 14 class ASH_EXPORT ShelfLayoutManagerObserver {
19 public: 15 public:
20 virtual ~ShelfLayoutManagerObserver() {} 16 virtual ~ShelfLayoutManagerObserver() {}
21 17
22 // Called when the target ShelfLayoutManager will be deleted. 18 // Called when the target ShelfLayoutManager will be deleted.
23 virtual void WillDeleteShelfLayoutManager() {} 19 virtual void WillDeleteShelfLayoutManager() {}
24 20
25 // Called when the visibility change is scheduled. 21 // Called when the visibility change is scheduled.
26 virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {} 22 virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
27 23
28 // Called when the auto hide state is changed. 24 // Called when the auto hide state is changed.
29 virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {} 25 virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
30 26
31 // Called when shelf background animation is started. 27 // Called when shelf background animation is started.
32 virtual void OnBackgroundUpdated(ShelfBackgroundType background_type, 28 virtual void OnBackgroundUpdated(ShelfBackgroundType background_type,
33 BackgroundAnimatorChangeType change_type) {} 29 BackgroundAnimatorChangeType change_type) {}
34 }; 30 };
35 31
36 } // namespace ash 32 } // namespace ash
37 33
38 #endif // ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_ 34 #endif // ASH_COMMON_SHELF_SHELF_LAYOUT_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_item_delegate.h ('k') | ash/common/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698