OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/slide_animation.h" | 8 #include "app/slide_animation.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "chrome/browser/extensions/extension_shelf_model.h" | 10 #include "chrome/browser/extensions/extension_shelf_model.h" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 // Background bitmap to draw under extension views. | 136 // Background bitmap to draw under extension views. |
137 bool background_needs_repaint_; | 137 bool background_needs_repaint_; |
138 | 138 |
139 // The browser this extension shelf belongs to. | 139 // The browser this extension shelf belongs to. |
140 Browser* browser_; | 140 Browser* browser_; |
141 | 141 |
142 // The model representing the toolstrips on the shelf. | 142 // The model representing the toolstrips on the shelf. |
143 ExtensionShelfModel* model_; | 143 ExtensionShelfModel* model_; |
144 | 144 |
145 // Storage of strings needed for accessibility. | |
146 std::wstring accessible_name_; | |
147 | |
148 // Animation controlling showing and hiding of the shelf. | 145 // Animation controlling showing and hiding of the shelf. |
149 scoped_ptr<SlideAnimation> size_animation_; | 146 scoped_ptr<SlideAnimation> size_animation_; |
150 | 147 |
151 // Are we in fullscreen mode or not. | 148 // Are we in fullscreen mode or not. |
152 bool fullscreen_; | 149 bool fullscreen_; |
153 | 150 |
154 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf); | 151 DISALLOW_COPY_AND_ASSIGN(ExtensionShelf); |
155 }; | 152 }; |
156 | 153 |
157 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ | 154 #endif // CHROME_BROWSER_VIEWS_EXTENSIONS_EXTENSION_SHELF_H_ |
OLD | NEW |