summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 20:55:12 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-25 20:55:12 +0000
commitf67500902a8fefd798915e0d257b342f16b10133 (patch)
treedc85102d1141c5a98d99b186c9cd79185a93d35d /chrome
parenta95783431c8cbc99981692cc0978af95cb3777af (diff)
downloadchromium_src-f67500902a8fefd798915e0d257b342f16b10133.zip
chromium_src-f67500902a8fefd798915e0d257b342f16b10133.tar.gz
chromium_src-f67500902a8fefd798915e0d257b342f16b10133.tar.bz2
"Make Chrome your default browser" should now appear as a checkbox at the bottom of the First Run dialogs and be opt-out. Therefore I moved it from the FirstRunCustomizeView view to the FirstRunViewBase.
I also moved the override function for GetDialogButtonLabel to the base class (since both dialogs should have the same label for the OK button) and aligned the "Import" label vertically to the "Import" combobox. Review URL: http://codereview.chromium.org/4244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2605 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/resources/locale_settings_ar.rc4
-rw-r--r--chrome/app/resources/locale_settings_bg.rc4
-rw-r--r--chrome/app/resources/locale_settings_ca.rc4
-rw-r--r--chrome/app/resources/locale_settings_cs.rc4
-rw-r--r--chrome/app/resources/locale_settings_da.rc4
-rw-r--r--chrome/app/resources/locale_settings_de.rc4
-rw-r--r--chrome/app/resources/locale_settings_el.rc4
-rw-r--r--chrome/app/resources/locale_settings_en-GB.rc4
-rw-r--r--chrome/app/resources/locale_settings_en-US.rc4
-rw-r--r--chrome/app/resources/locale_settings_es-419.rc4
-rw-r--r--chrome/app/resources/locale_settings_es.rc4
-rw-r--r--chrome/app/resources/locale_settings_et.rc4
-rw-r--r--chrome/app/resources/locale_settings_fi.rc4
-rw-r--r--chrome/app/resources/locale_settings_fil.rc4
-rw-r--r--chrome/app/resources/locale_settings_fr.rc4
-rw-r--r--chrome/app/resources/locale_settings_he.rc4
-rw-r--r--chrome/app/resources/locale_settings_hi.rc4
-rw-r--r--chrome/app/resources/locale_settings_hr.rc4
-rw-r--r--chrome/app/resources/locale_settings_hu.rc4
-rw-r--r--chrome/app/resources/locale_settings_id.rc4
-rw-r--r--chrome/app/resources/locale_settings_it.rc4
-rw-r--r--chrome/app/resources/locale_settings_ja.rc4
-rw-r--r--chrome/app/resources/locale_settings_ko.rc4
-rw-r--r--chrome/app/resources/locale_settings_lt.rc4
-rw-r--r--chrome/app/resources/locale_settings_lv.rc4
-rw-r--r--chrome/app/resources/locale_settings_nb.rc4
-rw-r--r--chrome/app/resources/locale_settings_nl.rc4
-rw-r--r--chrome/app/resources/locale_settings_pl.rc4
-rw-r--r--chrome/app/resources/locale_settings_pt-BR.rc4
-rw-r--r--chrome/app/resources/locale_settings_pt-PT.rc4
-rw-r--r--chrome/app/resources/locale_settings_ro.rc4
-rw-r--r--chrome/app/resources/locale_settings_ru.rc4
-rw-r--r--chrome/app/resources/locale_settings_sk.rc4
-rw-r--r--chrome/app/resources/locale_settings_sl.rc4
-rw-r--r--chrome/app/resources/locale_settings_sr.rc4
-rw-r--r--chrome/app/resources/locale_settings_sv.rc4
-rw-r--r--chrome/app/resources/locale_settings_th.rc4
-rw-r--r--chrome/app/resources/locale_settings_tr.rc4
-rw-r--r--chrome/app/resources/locale_settings_uk.rc4
-rw-r--r--chrome/app/resources/locale_settings_vi.rc4
-rw-r--r--chrome/app/resources/locale_settings_zh-CN.rc4
-rw-r--r--chrome/app/resources/locale_settings_zh-TW.rc4
-rw-r--r--chrome/browser/views/first_run_customize_view.cc37
-rw-r--r--chrome/browser/views/first_run_customize_view.h9
-rw-r--r--chrome/browser/views/first_run_view.cc17
-rw-r--r--chrome/browser/views/first_run_view.h12
-rw-r--r--chrome/browser/views/first_run_view_base.cc36
-rw-r--r--chrome/browser/views/first_run_view_base.h20
48 files changed, 162 insertions, 137 deletions
diff --git a/chrome/app/resources/locale_settings_ar.rc b/chrome/app/resources/locale_settings_ar.rc
index 9afad5f..6d6a801 100644
--- a/chrome/app/resources/locale_settings_ar.rc
+++ b/chrome/app/resources/locale_settings_ar.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_bg.rc b/chrome/app/resources/locale_settings_bg.rc
index 9c81366..ad7d161 100644
--- a/chrome/app/resources/locale_settings_bg.rc
+++ b/chrome/app/resources/locale_settings_bg.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_ca.rc b/chrome/app/resources/locale_settings_ca.rc
index 6e6f21a..e31e8ad 100644
--- a/chrome/app/resources/locale_settings_ca.rc
+++ b/chrome/app/resources/locale_settings_ca.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_cs.rc b/chrome/app/resources/locale_settings_cs.rc
index 1515d42..a53a564 100644
--- a/chrome/app/resources/locale_settings_cs.rc
+++ b/chrome/app/resources/locale_settings_cs.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_da.rc b/chrome/app/resources/locale_settings_da.rc
index 9631dcc..c74b0a2 100644
--- a/chrome/app/resources/locale_settings_da.rc
+++ b/chrome/app/resources/locale_settings_da.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_de.rc b/chrome/app/resources/locale_settings_de.rc
index ed2b819..6491a43 100644
--- a/chrome/app/resources/locale_settings_de.rc
+++ b/chrome/app/resources/locale_settings_de.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_el.rc b/chrome/app/resources/locale_settings_el.rc
index 0f1896f..7ffd652 100644
--- a/chrome/app/resources/locale_settings_el.rc
+++ b/chrome/app/resources/locale_settings_el.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_en-GB.rc b/chrome/app/resources/locale_settings_en-GB.rc
index b89b4ac..39813b4 100644
--- a/chrome/app/resources/locale_settings_en-GB.rc
+++ b/chrome/app/resources/locale_settings_en-GB.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "90"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "15"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "16"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "90"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_en-US.rc b/chrome/app/resources/locale_settings_en-US.rc
index c29cf9b..e58934f 100644
--- a/chrome/app/resources/locale_settings_en-US.rc
+++ b/chrome/app/resources/locale_settings_en-US.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "90"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "15"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "16"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "90"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_es-419.rc b/chrome/app/resources/locale_settings_es-419.rc
index 67f3ef1..2501d56 100644
--- a/chrome/app/resources/locale_settings_es-419.rc
+++ b/chrome/app/resources/locale_settings_es-419.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_es.rc b/chrome/app/resources/locale_settings_es.rc
index 963db31..2d23c02 100644
--- a/chrome/app/resources/locale_settings_es.rc
+++ b/chrome/app/resources/locale_settings_es.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_et.rc b/chrome/app/resources/locale_settings_et.rc
index 78312d5..b5e8f5a 100644
--- a/chrome/app/resources/locale_settings_et.rc
+++ b/chrome/app/resources/locale_settings_et.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_fi.rc b/chrome/app/resources/locale_settings_fi.rc
index 5bf0db7..346d020 100644
--- a/chrome/app/resources/locale_settings_fi.rc
+++ b/chrome/app/resources/locale_settings_fi.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_fil.rc b/chrome/app/resources/locale_settings_fil.rc
index 623a366..e5ea86b 100644
--- a/chrome/app/resources/locale_settings_fil.rc
+++ b/chrome/app/resources/locale_settings_fil.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_fr.rc b/chrome/app/resources/locale_settings_fr.rc
index 85eb5cf..adc40dd 100644
--- a/chrome/app/resources/locale_settings_fr.rc
+++ b/chrome/app/resources/locale_settings_fr.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_he.rc b/chrome/app/resources/locale_settings_he.rc
index b87d5a6..504f91c 100644
--- a/chrome/app/resources/locale_settings_he.rc
+++ b/chrome/app/resources/locale_settings_he.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_hi.rc b/chrome/app/resources/locale_settings_hi.rc
index 092e61c..99fdc2464 100644
--- a/chrome/app/resources/locale_settings_hi.rc
+++ b/chrome/app/resources/locale_settings_hi.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_hr.rc b/chrome/app/resources/locale_settings_hr.rc
index 80c4483..07601aa 100644
--- a/chrome/app/resources/locale_settings_hr.rc
+++ b/chrome/app/resources/locale_settings_hr.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_hu.rc b/chrome/app/resources/locale_settings_hu.rc
index c63de63..c50c2ef 100644
--- a/chrome/app/resources/locale_settings_hu.rc
+++ b/chrome/app/resources/locale_settings_hu.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_id.rc b/chrome/app/resources/locale_settings_id.rc
index eefbeb2..25c1b02 100644
--- a/chrome/app/resources/locale_settings_id.rc
+++ b/chrome/app/resources/locale_settings_id.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_it.rc b/chrome/app/resources/locale_settings_it.rc
index f14297b..3c3ab42 100644
--- a/chrome/app/resources/locale_settings_it.rc
+++ b/chrome/app/resources/locale_settings_it.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_ja.rc b/chrome/app/resources/locale_settings_ja.rc
index 9d77941..6057f5b 100644
--- a/chrome/app/resources/locale_settings_ja.rc
+++ b/chrome/app/resources/locale_settings_ja.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_ko.rc b/chrome/app/resources/locale_settings_ko.rc
index bd0a2d6..39c7369 100644
--- a/chrome/app/resources/locale_settings_ko.rc
+++ b/chrome/app/resources/locale_settings_ko.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_lt.rc b/chrome/app/resources/locale_settings_lt.rc
index f669c86..15845df 100644
--- a/chrome/app/resources/locale_settings_lt.rc
+++ b/chrome/app/resources/locale_settings_lt.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_lv.rc b/chrome/app/resources/locale_settings_lv.rc
index 89f3e7c..0ffd74d 100644
--- a/chrome/app/resources/locale_settings_lv.rc
+++ b/chrome/app/resources/locale_settings_lv.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_nb.rc b/chrome/app/resources/locale_settings_nb.rc
index b068934..d8d77a4 100644
--- a/chrome/app/resources/locale_settings_nb.rc
+++ b/chrome/app/resources/locale_settings_nb.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_nl.rc b/chrome/app/resources/locale_settings_nl.rc
index dd2d17b5..01dfb8b 100644
--- a/chrome/app/resources/locale_settings_nl.rc
+++ b/chrome/app/resources/locale_settings_nl.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_pl.rc b/chrome/app/resources/locale_settings_pl.rc
index 5b27e46..c81dc99 100644
--- a/chrome/app/resources/locale_settings_pl.rc
+++ b/chrome/app/resources/locale_settings_pl.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_pt-BR.rc b/chrome/app/resources/locale_settings_pt-BR.rc
index a128fa0..73f0d59 100644
--- a/chrome/app/resources/locale_settings_pt-BR.rc
+++ b/chrome/app/resources/locale_settings_pt-BR.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_pt-PT.rc b/chrome/app/resources/locale_settings_pt-PT.rc
index f7c64b0..986432b 100644
--- a/chrome/app/resources/locale_settings_pt-PT.rc
+++ b/chrome/app/resources/locale_settings_pt-PT.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_ro.rc b/chrome/app/resources/locale_settings_ro.rc
index 6eded50..0f34d591 100644
--- a/chrome/app/resources/locale_settings_ro.rc
+++ b/chrome/app/resources/locale_settings_ro.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_ru.rc b/chrome/app/resources/locale_settings_ru.rc
index 1de2a68..3819fd2 100644
--- a/chrome/app/resources/locale_settings_ru.rc
+++ b/chrome/app/resources/locale_settings_ru.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_sk.rc b/chrome/app/resources/locale_settings_sk.rc
index a54f569..0894d23 100644
--- a/chrome/app/resources/locale_settings_sk.rc
+++ b/chrome/app/resources/locale_settings_sk.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_sl.rc b/chrome/app/resources/locale_settings_sl.rc
index eae1d42..bf000a6 100644
--- a/chrome/app/resources/locale_settings_sl.rc
+++ b/chrome/app/resources/locale_settings_sl.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_sr.rc b/chrome/app/resources/locale_settings_sr.rc
index 63b96e7..de20915 100644
--- a/chrome/app/resources/locale_settings_sr.rc
+++ b/chrome/app/resources/locale_settings_sr.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_sv.rc b/chrome/app/resources/locale_settings_sv.rc
index 1e64e44..10ce7b1 100644
--- a/chrome/app/resources/locale_settings_sv.rc
+++ b/chrome/app/resources/locale_settings_sv.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_th.rc b/chrome/app/resources/locale_settings_th.rc
index d0cc320..a6632df 100644
--- a/chrome/app/resources/locale_settings_th.rc
+++ b/chrome/app/resources/locale_settings_th.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_tr.rc b/chrome/app/resources/locale_settings_tr.rc
index 7553306..5c1226e 100644
--- a/chrome/app/resources/locale_settings_tr.rc
+++ b/chrome/app/resources/locale_settings_tr.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_uk.rc b/chrome/app/resources/locale_settings_uk.rc
index e88127a..e77e2f1 100644
--- a/chrome/app/resources/locale_settings_uk.rc
+++ b/chrome/app/resources/locale_settings_uk.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_vi.rc b/chrome/app/resources/locale_settings_vi.rc
index c3f4975..987a239 100644
--- a/chrome/app/resources/locale_settings_vi.rc
+++ b/chrome/app/resources/locale_settings_vi.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_zh-CN.rc b/chrome/app/resources/locale_settings_zh-CN.rc
index 0617841..528dfd7 100644
--- a/chrome/app/resources/locale_settings_zh-CN.rc
+++ b/chrome/app/resources/locale_settings_zh-CN.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/app/resources/locale_settings_zh-TW.rc b/chrome/app/resources/locale_settings_zh-TW.rc
index eb7a58c..9a9610c 100644
--- a/chrome/app/resources/locale_settings_zh-TW.rc
+++ b/chrome/app/resources/locale_settings_zh-TW.rc
@@ -43,9 +43,9 @@ BEGIN
IDS_EDITBOOKMARK_DIALOG_WIDTH_CHARS "70"
IDS_EDITBOOKMARK_DIALOG_HEIGHT_LINES "25"
IDS_FIRSTRUN_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUN_DIALOG_HEIGHT_LINES "19"
IDS_FIRSTRUNCUSTOMIZE_DIALOG_WIDTH_CHARS "80"
- IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "18"
+ IDS_FIRSTRUNCUSTOMIZE_DIALOG_HEIGHT_LINES "17"
IDS_COOKIES_DIALOG_WIDTH_CHARS "80"
IDS_COOKIES_DIALOG_HEIGHT_LINES "29"
IDS_IMPORTPROGRESS_DIALOG_WIDTH_CHARS "75"
diff --git a/chrome/browser/views/first_run_customize_view.cc b/chrome/browser/views/first_run_customize_view.cc
index 378a135..9c0b0ab 100644
--- a/chrome/browser/views/first_run_customize_view.cc
+++ b/chrome/browser/views/first_run_customize_view.cc
@@ -8,7 +8,6 @@
#include "chrome/app/theme/theme_resources.h"
#include "chrome/browser/importer/importer.h"
#include "chrome/browser/first_run.h"
-#include "chrome/browser/shell_integration.h"
#include "chrome/browser/user_metrics.h"
#include "chrome/browser/views/standard_layout.h"
#include "chrome/common/l10n_util.h"
@@ -25,11 +24,11 @@
FirstRunCustomizeView::FirstRunCustomizeView(Profile* profile,
ImporterHost* importer_host,
- CustomizeViewObserver* observer)
+ CustomizeViewObserver* observer,
+ bool default_browser_checked)
: FirstRunViewBase(profile),
main_label_(NULL),
import_cbox_(NULL),
- default_browser_cbox_(NULL),
import_from_combo_(NULL),
shortcuts_label_(NULL),
desktop_shortcut_cbox_(NULL),
@@ -38,6 +37,12 @@ FirstRunCustomizeView::FirstRunCustomizeView(Profile* profile,
importer_host_ = importer_host;
DCHECK(importer_host_);
SetupControls();
+
+ // The checkbox for Default Browser should be the same for FirstRun and
+ // the customize view, so that the user selection isn't lost when you uncheck
+ // and then open the Customize dialog. Therefore, we propagate the selection
+ // status of the default browser here.
+ default_browser_->SetIsSelected(default_browser_checked);
}
FirstRunCustomizeView::~FirstRunCustomizeView() {
@@ -65,8 +70,6 @@ void FirstRunCustomizeView::SetupControls() {
import_from_combo_ = new ChromeViews::ComboBox(this);
AddChildView(import_from_combo_);
- default_browser_cbox_ = MakeCheckBox(IDS_FR_CUSTOMIZE_DEFAULT_BROWSER);
-
shortcuts_label_ =
new Label(l10n_util::GetString(IDS_FR_CUSTOMIZE_SHORTCUTS));
shortcuts_label_->SetHorizontalAlignment(Label::ALIGN_LEFT);
@@ -117,23 +120,18 @@ void FirstRunCustomizeView::Layout() {
import_cbox_->width();
import_from_combo_->GetPreferredSize(&pref_size);
- import_from_combo_->SetBounds(x_offset, next_v_space,
- pref_size.cx + kComboExtraPad, pref_size.cy);
+ import_from_combo_->SetBounds(x_offset,
+ next_v_space +
+ (import_cbox_->height() -
+ pref_size.cy) / 2,
+ pref_size.cx + kComboExtraPad,
+ pref_size.cy);
AdjustDialogWidth(import_from_combo_);
next_v_space = import_cbox_->y() + import_cbox_->height() +
kUnrelatedControlVerticalSpacing;
- default_browser_cbox_->GetPreferredSize(&pref_size);
- default_browser_cbox_->SetBounds(kPanelHorizMargin, next_v_space,
- pref_size.cx, pref_size.cy);
-
- AdjustDialogWidth(default_browser_cbox_);
-
- next_v_space += default_browser_cbox_->height() +
- kUnrelatedControlVerticalSpacing;
-
shortcuts_label_->GetPreferredSize(&pref_size);
shortcuts_label_->SetBounds(kPanelHorizMargin, next_v_space,
pref_size.cx, pref_size.cy);
@@ -190,7 +188,6 @@ bool FirstRunCustomizeView::Accept() {
DisableButtons();
import_cbox_->SetEnabled(false);
import_from_combo_->SetEnabled(false);
- default_browser_cbox_->SetEnabled(false);
desktop_shortcut_cbox_->SetEnabled(false);
quick_shortcut_cbox_->SetEnabled(false);
@@ -209,10 +206,8 @@ bool FirstRunCustomizeView::Accept() {
FirstRun::ImportSettings(profile_, browser_selected,
GetDefaultImportItems(), window()->GetHWND());
}
- if (default_browser_cbox_->IsSelected()) {
- UserMetrics::RecordAction(L"FirstRunCustom_Do_DefBrowser", profile_);
- ShellIntegration::SetAsDefaultBrowser();
- }
+ if (default_browser_->IsSelected())
+ SetDefaultBrowser();
if (customize_observer_)
customize_observer_->CustomizeAccepted();
diff --git a/chrome/browser/views/first_run_customize_view.h b/chrome/browser/views/first_run_customize_view.h
index 4a6f863..2edcc42 100644
--- a/chrome/browser/views/first_run_customize_view.h
+++ b/chrome/browser/views/first_run_customize_view.h
@@ -12,14 +12,11 @@
#include "chrome/views/view.h"
namespace ChromeViews {
-
class Label;
class Window;
class ImageView;
class Separator;
-class CheckBox;
class ComboBox;
-
}
class Profile;
@@ -40,7 +37,8 @@ class FirstRunCustomizeView : public FirstRunViewBase,
FirstRunCustomizeView(Profile* profile,
ImporterHost* importer_host,
- CustomizeViewObserver* observer);
+ CustomizeViewObserver* observer,
+ bool default_browser_checked);
virtual ~FirstRunCustomizeView();
// Overridden from ChromeViews::View.
@@ -74,7 +72,6 @@ class FirstRunCustomizeView : public FirstRunViewBase,
ChromeViews::Label* main_label_;
ChromeViews::CheckBox* import_cbox_;
- ChromeViews::CheckBox* default_browser_cbox_;
ChromeViews::ComboBox* import_from_combo_;
ChromeViews::Label* shortcuts_label_;
ChromeViews::CheckBox* desktop_shortcut_cbox_;
@@ -82,7 +79,7 @@ class FirstRunCustomizeView : public FirstRunViewBase,
CustomizeViewObserver* customize_observer_;
- DISALLOW_EVIL_CONSTRUCTORS(FirstRunCustomizeView);
+ DISALLOW_COPY_AND_ASSIGN(FirstRunCustomizeView);
};
#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_
diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc
index 1796b56..e310e0a 100644
--- a/chrome/browser/views/first_run_view.cc
+++ b/chrome/browser/views/first_run_view.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/user_metrics.h"
#include "chrome/common/l10n_util.h"
#include "chrome/common/resource_bundle.h"
+#include "chrome/views/checkbox.h"
#include "chrome/views/image_view.h"
#include "chrome/views/label.h"
#include "chrome/views/throbber.h"
@@ -55,6 +56,8 @@ void FirstRunView::SetupControls() {
using ChromeViews::Label;
using ChromeViews::Link;
+ default_browser_->SetIsSelected(true);
+
welcome_label_ = new Label(l10n_util::GetString(IDS_FIRSTRUN_DLG_TEXT));
welcome_label_->SetMultiLine(true);
welcome_label_->SetHorizontalAlignment(Label::ALIGN_LEFT);
@@ -147,19 +150,15 @@ void FirstRunView::Layout() {
pref_size.cx, pref_size.cy);
}
-std::wstring FirstRunView::GetDialogButtonLabel(DialogButton button) const {
- if (DIALOGBUTTON_OK == button)
- return l10n_util::GetString(IDS_FIRSTRUN_DLG_OK);
- // The other buttons get the default text.
- return std::wstring();
-}
-
void FirstRunView::OpenCustomizeDialog() {
// The customize dialog now owns the importer host object.
ChromeViews::Window::CreateChromeWindow(
window()->GetHWND(),
gfx::Rect(),
- new FirstRunCustomizeView(profile_, importer_host_, this))->Show();
+ new FirstRunCustomizeView(profile_,
+ importer_host_,
+ this,
+ default_browser_->IsSelected()))->Show();
}
void FirstRunView::LinkActivated(ChromeViews::Link* source, int event_flags) {
@@ -182,6 +181,8 @@ bool FirstRunView::Accept() {
customize_link_->SetEnabled(false);
CreateDesktopShortcut();
CreateQuickLaunchShortcut();
+ if (default_browser_->IsSelected())
+ SetDefaultBrowser();
// Index 0 is the default browser.
FirstRun::ImportSettings(profile_, 0, GetDefaultImportItems(),
window()->GetHWND());
diff --git a/chrome/browser/views/first_run_view.h b/chrome/browser/views/first_run_view.h
index d078248..87b0152 100644
--- a/chrome/browser/views/first_run_view.h
+++ b/chrome/browser/views/first_run_view.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H__
-#define CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H__
+#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_
+#define CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_
#include "chrome/browser/views/first_run_view_base.h"
#include "chrome/browser/views/first_run_customize_view.h"
@@ -12,10 +12,8 @@
#include "chrome/views/view.h"
namespace ChromeViews {
-
class Label;
class Window;
-
}
class Profile;
@@ -35,7 +33,6 @@ class FirstRunView : public FirstRunViewBase,
virtual void Layout();
// Overridden from ChromeViews::DialogDelegate:
- virtual std::wstring GetDialogButtonLabel(DialogButton button) const;
virtual bool Accept();
virtual bool Cancel();
@@ -64,8 +61,7 @@ class FirstRunView : public FirstRunViewBase,
ChromeViews::Link* customize_link_;
bool customize_selected_;
- DISALLOW_EVIL_CONSTRUCTORS(FirstRunView);
+ DISALLOW_COPY_AND_ASSIGN(FirstRunView);
};
-#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H__
-
+#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_
diff --git a/chrome/browser/views/first_run_view_base.cc b/chrome/browser/views/first_run_view_base.cc
index df1268b..81e72fee 100644
--- a/chrome/browser/views/first_run_view_base.cc
+++ b/chrome/browser/views/first_run_view_base.cc
@@ -12,6 +12,8 @@
#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/first_run.h"
+#include "chrome/browser/shell_integration.h"
+#include "chrome/browser/user_metrics.h"
#include "chrome/browser/views/standard_layout.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/l10n_util.h"
@@ -19,6 +21,7 @@
#include "chrome/common/pref_service.h"
#include "chrome/common/resource_bundle.h"
#include "chrome/views/background.h"
+#include "chrome/views/checkbox.h"
#include "chrome/views/client_view.h"
#include "chrome/views/image_view.h"
#include "chrome/views/label.h"
@@ -26,12 +29,14 @@
#include "chrome/views/separator.h"
#include "chrome/views/window.h"
+#include "chromium_strings.h"
#include "generated_resources.h"
FirstRunViewBase::FirstRunViewBase(Profile* profile)
: preferred_width_(0),
background_image_(NULL),
separator_1_(NULL),
+ default_browser_(NULL),
separator_2_(NULL),
importer_host_(NULL),
profile_(profile) {
@@ -91,6 +96,12 @@ void FirstRunViewBase::SetupControls() {
separator_1_ = new ChromeViews::Separator;
AddChildView(separator_1_);
+ // The "make us default browser" check box.
+ default_browser_ = new ChromeViews::CheckBox(
+ l10n_util::GetString(IDS_FR_CUSTOMIZE_DEFAULT_BROWSER));
+ default_browser_->SetMultiLine(true);
+ AddChildView(default_browser_);
+
// The second separator marks the start of buttons.
separator_2_ = new ChromeViews::Separator;
AddChildView(separator_2_);
@@ -124,10 +135,17 @@ void FirstRunViewBase::Layout() {
separator_1_->GetPreferredSize(&pref_size);
separator_1_->SetBounds(0 , next_v_space, canvas.cx + 1, pref_size.cy);
- next_v_space = canvas.cy - kPanelSubVerticalSpacing;
+ next_v_space = canvas.cy - kPanelSubVerticalSpacing - 2 * kVertSpacing;
separator_2_->GetPreferredSize(&pref_size);
separator_2_->SetBounds(kPanelHorizMargin , next_v_space,
- canvas.cx - 2*kPanelHorizMargin, pref_size.cy);
+ canvas.cx - 2 * kPanelHorizMargin, pref_size.cy);
+
+ next_v_space = separator_2_->y() + separator_2_->height() + kVertSpacing;
+
+ int width = canvas.cx - 2 * kPanelHorizMargin;
+ int height = default_browser_->GetHeightForWidth(width);
+ default_browser_->SetBounds(kPanelHorizMargin, next_v_space, width, height);
+ AdjustDialogWidth(default_browser_);
}
bool FirstRunViewBase::CanResize() const {
@@ -146,6 +164,13 @@ bool FirstRunViewBase::HasAlwaysOnTopMenu() const {
return false;
}
+std::wstring FirstRunViewBase::GetDialogButtonLabel(DialogButton button) const {
+ if (DIALOGBUTTON_OK == button)
+ return l10n_util::GetString(IDS_FIRSTRUN_DLG_OK);
+ // The other buttons get the default text.
+ return std::wstring();
+}
+
int FirstRunViewBase::GetDefaultImportItems() const {
// It is best to avoid importing cookies because there is a bug that make
// the process take way too much time among other issues. So for the time
@@ -158,6 +183,7 @@ void FirstRunViewBase::DisableButtons() {
ChromeViews::DialogClientView* dcv = GetDialogClientView();
dcv->ok_button()->SetEnabled(false);
dcv->cancel_button()->SetEnabled(false);
+ default_browser_->SetEnabled(false);
}
bool FirstRunViewBase::CreateDesktopShortcut() {
@@ -168,7 +194,11 @@ bool FirstRunViewBase::CreateQuickLaunchShortcut() {
return FirstRun::CreateChromeQuickLaunchShortcut();
}
+bool FirstRunViewBase::SetDefaultBrowser() {
+ UserMetrics::RecordAction(L"FirstRun_Do_DefBrowser", profile_);
+ return ShellIntegration::SetAsDefaultBrowser();
+}
+
bool FirstRunViewBase::FirstRunComplete() {
return FirstRun::CreateSentinel();
}
-
diff --git a/chrome/browser/views/first_run_view_base.h b/chrome/browser/views/first_run_view_base.h
index da0fe65..1d1d9a5 100644
--- a/chrome/browser/views/first_run_view_base.h
+++ b/chrome/browser/views/first_run_view_base.h
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H__
-#define CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H__
+#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H_
+#define CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H_
#include "chrome/browser/importer/importer.h"
#include "chrome/views/dialog_delegate.h"
#include "chrome/views/view.h"
namespace ChromeViews {
-
+class CheckBox;
class Window;
class ImageView;
class Separator;
class Throbber;
-
}
class Profile;
@@ -39,6 +38,9 @@ class FirstRunViewBase : public ChromeViews::View,
virtual bool IsAlwaysOnTop() const;
virtual bool HasAlwaysOnTopMenu() const;
+ // Overridden from ChromeViews::DialogDelegate.
+ std::wstring GetDialogButtonLabel(DialogButton button) const;
+
protected:
// Returns the items that the first run process is required to import
// from other browsers.
@@ -48,10 +50,13 @@ class FirstRunViewBase : public ChromeViews::View,
bool CreateDesktopShortcut();
bool CreateQuickLaunchShortcut();
+ // Set us as default browser if the user checked the box.
+ bool SetDefaultBrowser();
+
// Modifies the chrome configuration so that the first-run dialogs are not
// shown again.
bool FirstRunComplete();
-
+
// Disables the standard buttons of the dialog. Useful when importing.
void DisableButtons();
// Computes a tight dialog width given a contained UI element.
@@ -72,6 +77,7 @@ class FirstRunViewBase : public ChromeViews::View,
scoped_refptr<ImporterHost> importer_host_;
Profile* profile_;
+ ChromeViews::CheckBox* default_browser_;
private:
// Initializes the controls on the dialog.
@@ -81,8 +87,8 @@ class FirstRunViewBase : public ChromeViews::View,
ChromeViews::Separator* separator_2_;
int preferred_width_;
- DISALLOW_EVIL_CONSTRUCTORS(FirstRunViewBase);
+ DISALLOW_COPY_AND_ASSIGN(FirstRunViewBase);
};
-#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H__
+#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_BASE_H_