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_DELEGATE_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_DELEGATE_H_ |
6 #define ASH_LAUNCHER_LAUNCHER_DELEGATE_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_DELEGATE_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 #include "base/string16.h" | 10 #include "base/string16.h" |
12 | 11 |
13 namespace ui { | 12 namespace ui { |
14 class MenuModel; | 13 class MenuModel; |
15 } | 14 } |
16 | 15 |
17 namespace ash { | 16 namespace ash { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // there isn't one. | 53 // there isn't one. |
55 virtual LauncherID GetIDByWindow(aura::Window* window) = 0; | 54 virtual LauncherID GetIDByWindow(aura::Window* window) = 0; |
56 | 55 |
57 // Whether the given launcher item is draggable. | 56 // Whether the given launcher item is draggable. |
58 virtual bool IsDraggable(const LauncherItem& item) = 0; | 57 virtual bool IsDraggable(const LauncherItem& item) = 0; |
59 }; | 58 }; |
60 | 59 |
61 } // namespace ash | 60 } // namespace ash |
62 | 61 |
63 #endif // ASH_LAUNCHER_LAUNCHER_DELEGATE_H_ | 62 #endif // ASH_LAUNCHER_LAUNCHER_DELEGATE_H_ |
OLD | NEW |