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

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

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
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
7 // bubble open, so the class presents only static methods.
8
9 #ifndef CHROME_BROWSER_UI_GTK_FIRST_RUN_BUBBLE_H_
10 #define CHROME_BROWSER_UI_GTK_FIRST_RUN_BUBBLE_H_
11
12 #include <gtk/gtk.h>
13
14 #include "base/compiler_specific.h"
15 #include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
16
17 class Browser;
18
19 class FirstRunBubble : public BubbleDelegateGtk {
20 public:
21 // Shows the first run bubble, pointing at |rect|, transient for the toplevel
22 // window of the |anchor| widget.
23 static void Show(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect);
24
25 // Overridden from BubbleDelegateGtk:
26 virtual void BubbleClosing(BubbleGtk* bubble, bool closed_by_escape) OVERRIDE;
27
28 private:
29 FirstRunBubble(Browser* browser, GtkWidget* anchor, const gfx::Rect& rect);
30 virtual ~FirstRunBubble();
31
32 CHROMEGTK_CALLBACK_0(FirstRunBubble, void, HandleDestroy);
33 CHROMEGTK_CALLBACK_0(FirstRunBubble, void, HandleChangeLink);
34
35 Browser* browser_;
36 BubbleGtk* bubble_;
37
38 DISALLOW_COPY_AND_ASSIGN(FirstRunBubble);
39 };
40
41 #endif // CHROME_BROWSER_UI_GTK_FIRST_RUN_BUBBLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698