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

Side by Side Diff: ash/common/shelf/shelf_item_delegate.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_delegate.h ('k') | ash/common/shelf/shelf_layout_manager_observer.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_ITEM_DELEGATE_H_ 5 #ifndef ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_
6 #define ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_ 6 #define ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 10
11 namespace ui { 11 namespace ui {
12 class Event; 12 class Event;
13 class MenuModel;
14 } 13 }
15 14
16 namespace ash { 15 namespace ash {
17 16
18 class ShelfMenuModel; 17 class ShelfMenuModel;
19 18
20 // Delegate for the ShelfItem. 19 // Delegate for the ShelfItem.
21 class ASH_EXPORT ShelfItemDelegate { 20 class ASH_EXPORT ShelfItemDelegate {
22 public: 21 public:
23 // The return type for the ShelfItemDelegate::ItemSelected method. 22 // The return type for the ShelfItemDelegate::ItemSelected method.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Returns true if a tooltip should be shown. 69 // Returns true if a tooltip should be shown.
71 virtual bool ShouldShowTooltip() = 0; 70 virtual bool ShouldShowTooltip() = 0;
72 71
73 // Closes all windows associated with this item. 72 // Closes all windows associated with this item.
74 virtual void Close() = 0; 73 virtual void Close() = 0;
75 }; 74 };
76 75
77 } // namespace ash 76 } // namespace ash
78 77
79 #endif // ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_ 78 #endif // ASH_COMMON_SHELF_SHELF_ITEM_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_delegate.h ('k') | ash/common/shelf/shelf_layout_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698