| Index: chrome/browser/ui/views/extensions/extension_install_dialog_view.h
|
| diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
|
| index 3477b46d435d14e6d65468e56f7cd96a16c4b6d9..b1b324d6d1a6b7f44d2a7770d5af3d920a42cf3d 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
|
| +++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h
|
| @@ -24,6 +24,10 @@ namespace extensions {
|
| class ExperienceSamplingEvent;
|
| }
|
|
|
| +namespace ui {
|
| +class ResourceBundle;
|
| +}
|
| +
|
| namespace views {
|
| class GridLayout;
|
| class ImageButton;
|
| @@ -86,6 +90,16 @@ class ExtensionInstallDialogView : public views::DialogDelegateView,
|
| // Experimental: Toggles inline permission explanations with an animation.
|
| void ToggleInlineExplanations();
|
|
|
| + // Initializes the dialog view, adding in permissions if they exist.
|
| + void InitView();
|
| +
|
| + // Adds permissions of |perm_type| to the dialog view if they exist.
|
| + bool AddPermissions(views::GridLayout* layout,
|
| + ui::ResourceBundle& rb,
|
| + int column_set_id,
|
| + int left_column_width,
|
| + ExtensionInstallPrompt::PermissionsType perm_type);
|
| +
|
| // Creates a layout consisting of dialog header, extension name and icon.
|
| views::GridLayout* CreateLayout(
|
| views::View* parent,
|
|
|