Chromium Code Reviews| 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 604e9ae1e6a874f6398f10cf122b2137550e71d7..3e2b73ebfbc3836016bf093cb1851f67b1441344 100644 |
| --- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.h |
| +++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALL_DIALOG_VIEW_H_ |
| #include "chrome/browser/extensions/extension_install_prompt.h" |
| +#include "ui/base/resource/resource_bundle.h" |
| #include "ui/gfx/animation/animation_delegate.h" |
| #include "ui/gfx/animation/slide_animation.h" |
| #include "ui/views/controls/button/button.h" |
| @@ -54,6 +55,14 @@ class ExtensionInstallDialogView : public views::DialogDelegateView, |
| scoped_refptr<ExtensionInstallPrompt::Prompt> prompt); |
| virtual ~ExtensionInstallDialogView(); |
| + void InitView(); |
|
Devlin
2014/09/02 21:07:51
Comments.
gpdavis
2014/09/04 19:40:04
Wasn't sure what to say about this, since there we
|
| + |
| + bool MaybeAddPermissions(views::GridLayout* layout, |
|
Devlin
2014/09/02 21:07:51
Is there a reason these two functions should be pu
Devlin
2014/09/02 21:07:51
Comments
gpdavis
2014/09/04 19:40:04
No there is not. My mistake. Done.
gpdavis
2014/09/04 19:40:04
How about...
"Adds permissions of |perm_type| to
|
| + ui::ResourceBundle& rb, |
|
Devlin
2014/09/02 21:07:51
Just forward-declare resource bundle, rather than
gpdavis
2014/09/04 19:40:04
Done.
|
| + int column_set_id, |
| + int left_column_width, |
| + ExtensionInstallPrompt::PermissionsType perm_type); |
| + |
| // Returns the interior ScrollView of the dialog. This allows us to inspect |
| // the contents of the DialogView. |
| const views::ScrollView* scroll_view() const { return scroll_view_; } |