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

Side by Side Diff: chrome/browser/gtk/first_run_bubble.h

Issue 3043030: Move browser/first_run* into into a subdirectory. (Closed)
Patch Set: Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This is the GTK implementation of the First Run bubble, the dialog box 5 // This is the GTK implementation of the First Run bubble, the dialog box
6 // presented on first run of Chromium. There can only ever be a single 6 // presented on first run of Chromium. There can only ever be a single
7 // bubble open, so the class presents only static methods. 7 // bubble open, so the class presents only static methods.
8 8
9 #ifndef CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_ 9 #ifndef CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_
10 #define CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_ 10 #define CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_
11 #pragma once 11 #pragma once
12 12
13 #include <gtk/gtk.h> 13 #include <gtk/gtk.h>
14 14
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "chrome/browser/first_run.h" 18 #include "chrome/browser/first_run/first_run.h"
19 #include "chrome/browser/gtk/info_bubble_gtk.h" 19 #include "chrome/browser/gtk/info_bubble_gtk.h"
20 #include "chrome/browser/profile.h" 20 #include "chrome/browser/profile.h"
21 #include "chrome/common/notification_observer.h" 21 #include "chrome/common/notification_observer.h"
22 #include "chrome/common/notification_registrar.h" 22 #include "chrome/common/notification_registrar.h"
23 23
24 class FirstRunBubble : public InfoBubbleGtkDelegate, 24 class FirstRunBubble : public InfoBubbleGtkDelegate,
25 public NotificationObserver { 25 public NotificationObserver {
26 public: 26 public:
27 // Shows the first run bubble, pointing at |rect|. 27 // Shows the first run bubble, pointing at |rect|.
28 static void Show(Profile* profile, 28 static void Show(Profile* profile,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::vector<GtkWidget*> labels_; 70 std::vector<GtkWidget*> labels_;
71 71
72 InfoBubbleGtk* bubble_; 72 InfoBubbleGtk* bubble_;
73 73
74 NotificationRegistrar registrar_; 74 NotificationRegistrar registrar_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble); 76 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_ 79 #endif // CHROME_BROWSER_GTK_FIRST_RUN_BUBBLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698