Index: chrome/browser/ui/views/create_application_shortcut_view.h |
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.h b/chrome/browser/ui/views/create_application_shortcut_view.h |
index 7a503258ad6246841876ac43b54e5099c6d2f2f9..74dad72e54f4fc954c1c720beccb30b94cf9a646 100644 |
--- a/chrome/browser/ui/views/create_application_shortcut_view.h |
+++ b/chrome/browser/ui/views/create_application_shortcut_view.h |
@@ -43,8 +43,10 @@ class CreateApplicationShortcutView : public views::DialogDelegateView, |
explicit CreateApplicationShortcutView(Profile* profile); |
virtual ~CreateApplicationShortcutView(); |
- // Initialize the controls on the dialog. |
- void InitControls(); |
+ // Initialize the controls on the dialog. InitAppInfoControl() must be called |
+ // before InitDialog() if it is to be called at all. |
+ void InitAppInfoControl(); |
+ void InitDialog(); |
benwells
2014/05/29 04:49:34
Did you consider passing a boolean into InitContro
sashab
2014/05/29 05:18:02
I'm happy either way. InitControls(false) looked a
benwells
2014/05/30 01:57:54
I understand your concern. InitControls(false) is
sashab
2014/05/30 06:51:03
Nice suggestion. Done.
|
// Overridden from views::View: |
virtual gfx::Size GetPreferredSize() const OVERRIDE; |