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; | |
19 class Profile; | 18 class Profile; |
20 | 19 |
21 namespace content { | 20 namespace content { |
22 class PageNavigator; | 21 class PageNavigator; |
23 } | 22 } |
24 | 23 |
25 namespace extensions { | 24 namespace extensions { |
26 class ExperienceSamplingEvent; | 25 class ExperienceSamplingEvent; |
27 } | 26 } |
28 | 27 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 // on whether the details section is expanded). | 267 // on whether the details section is expanded). |
269 views::ImageButton* arrow_toggle_; | 268 views::ImageButton* arrow_toggle_; |
270 | 269 |
271 // Whether the details section is expanded. | 270 // Whether the details section is expanded. |
272 bool expanded_; | 271 bool expanded_; |
273 | 272 |
274 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); | 273 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); |
275 }; | 274 }; |
276 | 275 |
277 void ShowExtensionInstallDialogImpl( | 276 void ShowExtensionInstallDialogImpl( |
278 ExtensionInstallPromptShowParams* show_params, | 277 const ExtensionInstallPrompt::ShowParams& show_params, |
279 ExtensionInstallPrompt::Delegate* delegate, | 278 ExtensionInstallPrompt::Delegate* delegate, |
280 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); | 279 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); |
281 | 280 |
282 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 281 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
OLD | NEW |