OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 | 10 |
12 namespace ash { | 11 namespace ash { |
13 | 12 |
14 class ASH_EXPORT LauncherIconObserver { | 13 class ASH_EXPORT LauncherIconObserver { |
15 public: | 14 public: |
16 // Invoked when any icon on launcher changes position. | 15 // Invoked when any icon on launcher changes position. |
17 virtual void OnLauncherIconPositionsChanged() = 0; | 16 virtual void OnLauncherIconPositionsChanged() = 0; |
18 | 17 |
19 protected: | 18 protected: |
20 virtual ~LauncherIconObserver() {} | 19 virtual ~LauncherIconObserver() {} |
21 }; | 20 }; |
22 | 21 |
23 } // namespace ash | 22 } // namespace ash |
24 | 23 |
25 #endif // ASH_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ | 24 #endif // ASH_LAUNCHER_LAUNCHER_ICON_OBSERVER_H_ |
OLD | NEW |