OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/extensions/extension_install_prompt.h" | 9 #include "chrome/browser/extensions/extension_install_prompt.h" |
9 #include "ui/gfx/animation/animation_delegate.h" | 10 #include "ui/gfx/animation/animation_delegate.h" |
10 #include "ui/gfx/animation/slide_animation.h" | 11 #include "ui/gfx/animation/slide_animation.h" |
11 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
12 #include "ui/views/controls/link_listener.h" | 13 #include "ui/views/controls/link_listener.h" |
13 #include "ui/views/view.h" | 14 #include "ui/views/view.h" |
14 #include "ui/views/window/dialog_delegate.h" | 15 #include "ui/views/window/dialog_delegate.h" |
15 | 16 |
16 typedef std::vector<base::string16> PermissionDetails; | 17 typedef std::vector<base::string16> PermissionDetails; |
17 class Profile; | 18 class Profile; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 // on whether the details section is expanded). | 204 // on whether the details section is expanded). |
204 views::ImageButton* arrow_toggle_; | 205 views::ImageButton* arrow_toggle_; |
205 | 206 |
206 // Whether the details section is expanded. | 207 // Whether the details section is expanded. |
207 bool expanded_; | 208 bool expanded_; |
208 | 209 |
209 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); | 210 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); |
210 }; | 211 }; |
211 | 212 |
212 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 213 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
OLD | NEW |