OLD | NEW |
1 // Copyright (c) 2010 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_GTK_UPDATE_RECOMMENDED_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_UPDATE_RECOMMENDED_DIALOG_H_ |
6 #define CHROME_BROWSER_GTK_UPDATE_RECOMMENDED_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_GTK_UPDATE_RECOMMENDED_DIALOG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "app/gtk_integers.h" | 9 #include "app/gtk_integers.h" |
10 #include "app/gtk_signal.h" | 10 #include "app/gtk_signal.h" |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 | 12 |
13 typedef struct _GtkWidget GtkWidget; | 13 typedef struct _GtkWidget GtkWidget; |
14 typedef struct _GtkWindow GtkWindow; | 14 typedef struct _GtkWindow GtkWindow; |
15 | 15 |
16 class UpdateRecommendedDialog { | 16 class UpdateRecommendedDialog { |
17 public: | 17 public: |
18 static void Show(GtkWindow* parent); | 18 static void Show(GtkWindow* parent); |
19 | 19 |
20 private: | 20 private: |
21 CHROMEGTK_CALLBACK_1(UpdateRecommendedDialog, void, OnResponse, gint); | 21 CHROMEGTK_CALLBACK_1(UpdateRecommendedDialog, void, OnResponse, gint); |
22 | 22 |
23 explicit UpdateRecommendedDialog(GtkWindow* parent); | 23 explicit UpdateRecommendedDialog(GtkWindow* parent); |
24 ~UpdateRecommendedDialog(); | 24 ~UpdateRecommendedDialog(); |
25 | 25 |
26 GtkWidget* dialog_; | 26 GtkWidget* dialog_; |
27 | 27 |
28 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedDialog); | 28 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedDialog); |
29 }; | 29 }; |
30 | 30 |
31 #endif // CHROME_BROWSER_GTK_UPDATE_RECOMMENDED_DIALOG_H_ | 31 #endif // CHROME_BROWSER_UI_GTK_UPDATE_RECOMMENDED_DIALOG_H_ |
OLD | NEW |