OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ |
6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ | 6 #define CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ |
7 | 7 |
8 #include "app/gfx/canvas.h" | |
9 #include "app/slide_animation.h" | 8 #include "app/slide_animation.h" |
10 #include "base/task.h" | 9 #include "base/task.h" |
11 #include "chrome/browser/extensions/extension_shelf_model.h" | 10 #include "chrome/browser/extensions/extension_shelf_model.h" |
12 #include "chrome/browser/extensions/extensions_service.h" | 11 #include "chrome/browser/extensions/extensions_service.h" |
13 #include "chrome/browser/views/browser_bubble.h" | 12 #include "chrome/browser/views/browser_bubble.h" |
14 #include "chrome/browser/views/detachable_toolbar_view.h" | 13 #include "chrome/browser/views/detachable_toolbar_view.h" |
| 14 #include "gfx/canvas.h" |
15 #include "views/view.h" | 15 #include "views/view.h" |
16 | 16 |
17 class Browser; | 17 class Browser; |
18 namespace views { | 18 namespace views { |
19 class Label; | 19 class Label; |
20 class MouseEvent; | 20 class MouseEvent; |
21 } | 21 } |
22 | 22 |
23 // A shelf that contains Extension toolstrips. | 23 // A shelf that contains Extension toolstrips. |
24 class ExtensionShelf : public DetachableToolbarView, | 24 class ExtensionShelf : public DetachableToolbarView, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // Animation controlling showing and hiding of the shelf. | 150 // Animation controlling showing and hiding of the shelf. |
151 scoped_ptr<SlideAnimation> size_animation_; | 151 scoped_ptr<SlideAnimation> size_animation_; |
152 | 152 |
153 // Are we in fullscreen mode or not. | 153 // Are we in fullscreen mode or not. |
154 bool fullscreen_; | 154 bool fullscreen_; |
155 | 155 |
156 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf); | 156 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf); |
157 }; | 157 }; |
158 | 158 |
159 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ | 159 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ |
OLD | NEW |