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 "chrome/browser/extensions/extension_install_prompt.h" | 8 #include "chrome/browser/extensions/extension_install_prompt.h" |
9 #include "ui/gfx/animation/animation_delegate.h" | 9 #include "ui/gfx/animation/animation_delegate.h" |
10 #include "ui/gfx/animation/slide_animation.h" | 10 #include "ui/gfx/animation/slide_animation.h" |
11 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
12 #include "ui/views/controls/link_listener.h" | 12 #include "ui/views/controls/link_listener.h" |
13 #include "ui/views/view.h" | 13 #include "ui/views/view.h" |
14 #include "ui/views/window/dialog_delegate.h" | 14 #include "ui/views/window/dialog_delegate.h" |
15 | 15 |
16 typedef std::vector<base::string16> PermissionDetails; | 16 typedef std::vector<base::string16> PermissionDetails; |
17 class ExpandableContainerView; | 17 class ExpandableContainerView; |
| 18 class ExtensionInstallPromptShowParams; |
18 class Profile; | 19 class Profile; |
19 | 20 |
20 namespace content { | 21 namespace content { |
21 class PageNavigator; | 22 class PageNavigator; |
22 } | 23 } |
23 | 24 |
24 namespace extensions { | 25 namespace extensions { |
25 class ExperienceSamplingEvent; | 26 class ExperienceSamplingEvent; |
26 } | 27 } |
27 | 28 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // on whether the details section is expanded). | 271 // on whether the details section is expanded). |
271 views::ImageButton* arrow_toggle_; | 272 views::ImageButton* arrow_toggle_; |
272 | 273 |
273 // Whether the details section is expanded. | 274 // Whether the details section is expanded. |
274 bool expanded_; | 275 bool expanded_; |
275 | 276 |
276 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); | 277 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); |
277 }; | 278 }; |
278 | 279 |
279 void ShowExtensionInstallDialogImpl( | 280 void ShowExtensionInstallDialogImpl( |
280 const ExtensionInstallPrompt::ShowParams& show_params, | 281 ExtensionInstallPromptShowParams* show_params, |
281 ExtensionInstallPrompt::Delegate* delegate, | 282 ExtensionInstallPrompt::Delegate* delegate, |
282 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); | 283 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); |
283 | 284 |
284 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 285 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
OLD | NEW |