diff options
author | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 18:18:44 +0000 |
---|---|---|
committer | jeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 18:18:44 +0000 |
commit | d1d25e4d3c8fa47a78352813c061cc9f71f562ab (patch) | |
tree | 3376caaf9d2a2257422b9fdd530f425e8c964a79 /chrome/browser/cocoa/first_run_dialog.mm | |
parent | e86aaca212530deeabd13168c2bdc46cc5940f7c (diff) | |
download | chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.zip chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.tar.gz chromium_src-d1d25e4d3c8fa47a78352813c061cc9f71f562ab.tar.bz2 |
Fix several bugs in First Run.
Chromium:
* First run no longer displays every time you launch Chromium.
* Enable Stats checkbox hidden (it doesn't do anything anyway in Chromium).
General:
* Import popup menu disables with checkbox.
BUG=19163,19171
Review URL: http://codereview.chromium.org/165387
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/first_run_dialog.mm')
-rw-r--r-- | chrome/browser/cocoa/first_run_dialog.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/first_run_dialog.mm b/chrome/browser/cocoa/first_run_dialog.mm index 6fdadcb7..4fe80bc 100644 --- a/chrome/browser/cocoa/first_run_dialog.mm +++ b/chrome/browser/cocoa/first_run_dialog.mm @@ -23,6 +23,12 @@ // Bound to the dialog checkbox, default to true. stats_enabled_ = YES; import_bookmarks_ = YES; + +#if !defined(GOOGLE_CHROME_BUILD) + // In Chromium builds all stats reporting is disabled so there's no reason + // to display the checkbox - the setting is always OFF. + usage_stats_checkbox_hidden_ = YES; +#endif // !GOOGLE_CHROME_BUILD } return self; } |