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

Side by Side Diff: chrome/browser/ui/gtk/instant_confirm_dialog_gtk.h

Issue 7087028: roll clang 131935:132017 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_INSTANT_CONFIRM_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_INSTANT_CONFIRM_DIALOG_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_INSTANT_CONFIRM_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_INSTANT_CONFIRM_DIALOG_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/base/gtk/gtk_signal.h" 10 #include "ui/base/gtk/gtk_signal.h"
11 11
12 class Profile; 12 class Profile;
13 13
14 typedef struct _GtkWidget GtkWidget; 14 typedef struct _GtkWidget GtkWidget;
15 typedef struct _GtkWindow GtkWindow; 15 typedef struct _GtkWindow GtkWindow;
16 16
17 // A dialog that explains some of the privacy implications surrounding instant. 17 // A dialog that explains some of the privacy implications surrounding instant.
18 // Shown when the user enables instant for the first time. 18 // Shown when the user enables instant for the first time.
19 class InstantConfirmDialogGtk { 19 class InstantConfirmDialogGtk {
20 public: 20 public:
21 InstantConfirmDialogGtk(GtkWindow* parent, Profile* profile); 21 InstantConfirmDialogGtk(GtkWindow* parent, Profile* profile);
22 ~InstantConfirmDialogGtk(); 22 virtual ~InstantConfirmDialogGtk();
23 23
24 private: 24 private:
25 CHROMEGTK_CALLBACK_1(InstantConfirmDialogGtk, void, OnResponse, int); 25 CHROMEGTK_CALLBACK_1(InstantConfirmDialogGtk, void, OnResponse, int);
26 CHROMEGTK_CALLBACK_0(InstantConfirmDialogGtk, void, OnLinkButtonClicked); 26 CHROMEGTK_CALLBACK_0(InstantConfirmDialogGtk, void, OnLinkButtonClicked);
27 27
28 GtkWidget* dialog_; 28 GtkWidget* dialog_;
29 Profile* profile_; 29 Profile* profile_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(InstantConfirmDialogGtk); 31 DISALLOW_COPY_AND_ASSIGN(InstantConfirmDialogGtk);
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_UI_GTK_INSTANT_CONFIRM_DIALOG_GTK_H_ 34 #endif // CHROME_BROWSER_UI_GTK_INSTANT_CONFIRM_DIALOG_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698