OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ |
6 #define CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 typedef struct _GtkButton GtkButton; | 9 typedef struct _GtkButton GtkButton; |
10 typedef struct _GtkWidget GtkWidget; | 10 typedef struct _GtkWidget GtkWidget; |
11 | 11 |
12 #include "app/gtk_signal.h" | |
13 #include "chrome/browser/first_run/first_run.h" | 12 #include "chrome/browser/first_run/first_run.h" |
14 #include "chrome/browser/search_engines/template_url_model_observer.h" | 13 #include "chrome/browser/search_engines/template_url_model_observer.h" |
| 14 #include "ui/base/gtk/gtk_signal.h" |
15 | 15 |
16 class TemplateURL; | 16 class TemplateURL; |
17 class TemplateURLModel; | 17 class TemplateURLModel; |
18 | 18 |
19 class FirstRunDialog : public TemplateURLModelObserver { | 19 class FirstRunDialog : public TemplateURLModelObserver { |
20 public: | 20 public: |
21 // Displays the first run UI for reporting opt-in, import data etc. | 21 // Displays the first run UI for reporting opt-in, import data etc. |
22 static bool Show(Profile* profile, bool randomize_search_engine_order); | 22 static bool Show(Profile* profile, bool randomize_search_engine_order); |
23 | 23 |
24 virtual void OnTemplateURLModelChanged(); | 24 virtual void OnTemplateURLModelChanged(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // crashes and usage stats. | 73 // crashes and usage stats. |
74 bool show_reporting_dialog_; | 74 bool show_reporting_dialog_; |
75 | 75 |
76 // User response (accept or cancel) is returned through this. | 76 // User response (accept or cancel) is returned through this. |
77 int* response_; | 77 int* response_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(FirstRunDialog); | 79 DISALLOW_COPY_AND_ASSIGN(FirstRunDialog); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ | 82 #endif // CHROME_BROWSER_UI_GTK_FIRST_RUN_DIALOG_H_ |
OLD | NEW |