Index: chrome/browser/first_run/try_chrome_dialog_view.h |
=================================================================== |
--- chrome/browser/first_run/try_chrome_dialog_view.h (revision 147935) |
+++ chrome/browser/first_run/try_chrome_dialog_view.h (working copy) |
@@ -19,6 +19,7 @@ |
namespace views { |
class RadioButton; |
+class Checkbox; |
class Widget; |
} |
@@ -40,10 +41,11 @@ |
public views::LinkListener { |
public: |
enum Result { |
- TRY_CHROME, // Launch chrome right now. |
- NOT_NOW, // Don't launch chrome. Exit now. |
- UNINSTALL_CHROME, // Initiate chrome uninstall and exit. |
- DIALOG_ERROR, // An error occurred creating the dialog. |
+ TRY_CHROME, // Launch chrome right now. |
+ TRY_CHROME_AS_DEFAULT, // Launch chrome and make it the default. |
+ NOT_NOW, // Don't launch chrome. Exit now. |
+ UNINSTALL_CHROME, // Initiate chrome uninstall and exit. |
+ DIALOG_ERROR, // An error occurred creating the dialog. |
COUNT |
}; |
@@ -59,12 +61,6 @@ |
static Result Show(size_t flavor, ProcessSingleton* process_singleton); |
private: |
- enum ButtonTags { |
- BT_NONE, |
- BT_CLOSE_BUTTON, |
- BT_OK_BUTTON, |
- }; |
- |
explicit TryChromeDialogView(size_t flavor); |
virtual ~TryChromeDialogView(); |
@@ -101,6 +97,7 @@ |
views::RadioButton* try_chrome_; |
views::RadioButton* kill_chrome_; |
views::RadioButton* dont_try_chrome_; |
+ views::Checkbox* make_default_; |
Result result_; |
DISALLOW_COPY_AND_ASSIGN(TryChromeDialogView); |