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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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_FULLSCREEN_EXIT_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/gtk_signal.h"
10 #include "app/gtk_signal_registrar.h"
11 #include "base/timer.h" 9 #include "base/timer.h"
12 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" 10 #include "chrome/browser/ui/gtk/slide_animator_gtk.h"
11 #include "ui/base/gtk/gtk_signal.h"
12 #include "ui/base/gtk/gtk_signal_registrar.h"
13 13
14 typedef struct _GtkFloatingContainer GtkFloatingContainer; 14 typedef struct _GtkFloatingContainer GtkFloatingContainer;
15 typedef struct _GtkWidget GtkWidget; 15 typedef struct _GtkWidget GtkWidget;
16 16
17 // FullscreenExitBubbleGTK is responsible for showing a bubble atop the screen 17 // FullscreenExitBubbleGTK is responsible for showing a bubble atop the screen
18 // in fullscreen mode, telling users how to exit and providing a click target. 18 // in fullscreen mode, telling users how to exit and providing a click target.
19 class FullscreenExitBubbleGtk { 19 class FullscreenExitBubbleGtk {
20 public: 20 public:
21 // We place the bubble in |container|. 21 // We place the bubble in |container|.
22 explicit FullscreenExitBubbleGtk(GtkFloatingContainer* container); 22 explicit FullscreenExitBubbleGtk(GtkFloatingContainer* container);
(...skipping 15 matching lines...) Expand all
38 38
39 // A pointer to the floating container that is our parent. 39 // A pointer to the floating container that is our parent.
40 GtkFloatingContainer* container_; 40 GtkFloatingContainer* container_;
41 41
42 // The widget that animates the slide-out of fullscreen exit bubble. 42 // The widget that animates the slide-out of fullscreen exit bubble.
43 scoped_ptr<SlideAnimatorGtk> slide_widget_; 43 scoped_ptr<SlideAnimatorGtk> slide_widget_;
44 44
45 // The timer that does the initial hiding of the exit bubble. 45 // The timer that does the initial hiding of the exit bubble.
46 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; 46 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_;
47 47
48 GtkSignalRegistrar signals_; 48 ui::GtkSignalRegistrar signals_;
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ 51 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/first_run_dialog.h ('k') | chrome/browser/ui/gtk/gconf_titlebar_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698