Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: chrome/browser/gtk/first_run_dialog.h

Issue 3847006: If default search is managed, we should not asked the user to choose it at Fi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run/first_run_win.cc ('k') | chrome/browser/gtk/first_run_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/first_run_dialog.h
===================================================================
--- chrome/browser/gtk/first_run_dialog.h (revision 63018)
+++ chrome/browser/gtk/first_run_dialog.h (working copy)
@@ -25,8 +25,9 @@
private:
FirstRunDialog(Profile* profile,
- bool randomize_search_engine_order,
- int& response);
+ bool show_reporting_dialog,
+ bool show_search_engines_dialog,
+ int* response);
virtual ~FirstRunDialog();
CHROMEGTK_CALLBACK_1(FirstRunDialog, void, OnResponseDialog, int);
@@ -35,7 +36,7 @@
CHROMEG_CALLBACK_0(FirstRunDialog, void, OnLearnMoreLinkClicked, GtkButton*);
void ShowSearchEngineWindow();
- void ShowDialog();
+ void ShowReportingDialog();
// This method closes the first run window and quits the message loop so that
// the Chrome startup can continue. This should be called when all the
@@ -68,8 +69,12 @@
// search engine.
TemplateURL* chosen_search_engine_;
+ // Whether we should show the dialog asking the user whether to report
+ // crashes and usage stats.
+ bool show_reporting_dialog_;
+
// User response (accept or cancel) is returned through this.
- int& response_;
+ int* response_;
DISALLOW_COPY_AND_ASSIGN(FirstRunDialog);
};
« no previous file with comments | « chrome/browser/first_run/first_run_win.cc ('k') | chrome/browser/gtk/first_run_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698