OLD | NEW |
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_SHELF_SHELF_DELEGATE_H_ | 5 #ifndef ASH_SHELF_SHELF_DELEGATE_H_ |
6 #define ASH_SHELF_SHELF_DELEGATE_H_ | 6 #define ASH_SHELF_SHELF_DELEGATE_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/shelf/shelf_item_types.h" | 9 #include "ash/common/shelf/shelf_item_types.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 class Shelf; | 12 class Shelf; |
13 | 13 |
14 // Delegate for the Shelf. | 14 // Delegate for the Shelf. |
15 class ASH_EXPORT ShelfDelegate { | 15 class ASH_EXPORT ShelfDelegate { |
16 public: | 16 public: |
17 // Shelf owns the delegate. | 17 // Shelf owns the delegate. |
18 virtual ~ShelfDelegate() {} | 18 virtual ~ShelfDelegate() {} |
19 | 19 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Check if the app with |app_id_| is pinned to the shelf. | 56 // Check if the app with |app_id_| is pinned to the shelf. |
57 virtual bool IsAppPinned(const std::string& app_id) = 0; | 57 virtual bool IsAppPinned(const std::string& app_id) = 0; |
58 | 58 |
59 // Unpins app item with |app_id|. | 59 // Unpins app item with |app_id|. |
60 virtual void UnpinAppWithID(const std::string& app_id) = 0; | 60 virtual void UnpinAppWithID(const std::string& app_id) = 0; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace ash | 63 } // namespace ash |
64 | 64 |
65 #endif // ASH_SHELF_SHELF_DELEGATE_H_ | 65 #endif // ASH_SHELF_SHELF_DELEGATE_H_ |
OLD | NEW |