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_MODEL_OBSERVER_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "ash/launcher/launcher_types.h" | 9 #include "ash/launcher/launcher_types.h" |
11 | 10 |
12 namespace ash { | 11 namespace ash { |
13 | 12 |
14 struct LauncherItem; | 13 struct LauncherItem; |
15 | 14 |
16 class ASH_EXPORT LauncherModelObserver { | 15 class ASH_EXPORT LauncherModelObserver { |
17 public: | 16 public: |
(...skipping 12 matching lines...) Expand all Loading... |
30 // before the change. | 29 // before the change. |
31 virtual void LauncherItemChanged(int index, const LauncherItem& old_item) = 0; | 30 virtual void LauncherItemChanged(int index, const LauncherItem& old_item) = 0; |
32 | 31 |
33 protected: | 32 protected: |
34 virtual ~LauncherModelObserver() {} | 33 virtual ~LauncherModelObserver() {} |
35 }; | 34 }; |
36 | 35 |
37 } // namespace ash | 36 } // namespace ash |
38 | 37 |
39 #endif // ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_ | 38 #endif // ASH_LAUNCHER_LAUNCHER_MODEL_OBSERVER_H_ |
OLD | NEW |