| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 // on whether the details section is expanded). | 268 // on whether the details section is expanded). |
| 268 views::ImageButton* arrow_toggle_; | 269 views::ImageButton* arrow_toggle_; |
| 269 | 270 |
| 270 // Whether the details section is expanded. | 271 // Whether the details section is expanded. |
| 271 bool expanded_; | 272 bool expanded_; |
| 272 | 273 |
| 273 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); | 274 DISALLOW_COPY_AND_ASSIGN(ExpandableContainerView); |
| 274 }; | 275 }; |
| 275 | 276 |
| 276 void ShowExtensionInstallDialogImpl( | 277 void ShowExtensionInstallDialogImpl( |
| 277 const ExtensionInstallPrompt::ShowParams& show_params, | 278 ExtensionInstallPromptShowParams* show_params, |
| 278 ExtensionInstallPrompt::Delegate* delegate, | 279 ExtensionInstallPrompt::Delegate* delegate, |
| 279 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); | 280 scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); |
| 280 | 281 |
| 281 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ | 282 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
| OLD | NEW |