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

Side by Side Diff: ash/shelf/shelf_delegate.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 months 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/shelf/shelf_controller.cc ('k') | ash/shelf/shelf_item_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_DELEGATE_H_ 5 #ifndef ASH_SHELF_SHELF_DELEGATE_H_
6 #define ASH_COMMON_SHELF_SHELF_DELEGATE_H_ 6 #define ASH_SHELF_SHELF_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/common/shelf/shelf_item_types.h" 11 #include "ash/shelf/shelf_item_types.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 // Delegate shared by all shelf instances. 15 // Delegate shared by all shelf instances.
16 class ASH_EXPORT ShelfDelegate { 16 class ASH_EXPORT ShelfDelegate {
17 public: 17 public:
18 virtual ~ShelfDelegate() {} 18 virtual ~ShelfDelegate() {}
19 19
20 // Get the shelf ID from an application ID. 20 // Get the shelf ID from an application ID.
21 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0; 21 virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0;
(...skipping 23 matching lines...) Expand all
45 45
46 // Check if the app with |app_id_| is pinned to the shelf. 46 // Check if the app with |app_id_| is pinned to the shelf.
47 virtual bool IsAppPinned(const std::string& app_id) = 0; 47 virtual bool IsAppPinned(const std::string& app_id) = 0;
48 48
49 // Unpins app item with |app_id|. 49 // Unpins app item with |app_id|.
50 virtual void UnpinAppWithID(const std::string& app_id) = 0; 50 virtual void UnpinAppWithID(const std::string& app_id) = 0;
51 }; 51 };
52 52
53 } // namespace ash 53 } // namespace ash
54 54
55 #endif // ASH_COMMON_SHELF_SHELF_DELEGATE_H_ 55 #endif // ASH_SHELF_SHELF_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_controller.cc ('k') | ash/shelf/shelf_item_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698