| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/browser/ui/fullscreen_exit_bubble.h" | 9 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble.h" |
| 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
| 11 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" | 11 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" |
| 12 #include "ui/base/gtk/gtk_signal.h" | 12 #include "ui/base/gtk/gtk_signal.h" |
| 13 #include "ui/base/gtk/gtk_signal_registrar.h" | 13 #include "ui/base/gtk/gtk_signal_registrar.h" |
| 14 | 14 |
| 15 typedef struct _GtkFloatingContainer GtkFloatingContainer; | 15 typedef struct _GtkFloatingContainer GtkFloatingContainer; |
| 16 typedef struct _GtkWidget GtkWidget; | 16 typedef struct _GtkWidget GtkWidget; |
| 17 | 17 |
| 18 // FullscreenExitBubbleGTK is responsible for showing a bubble atop the screen | 18 // FullscreenExitBubbleGTK is responsible for showing a bubble atop the screen |
| 19 // in fullscreen mode, telling users how to exit and providing a click target. | 19 // in fullscreen mode, telling users how to exit and providing a click target. |
| 20 class FullscreenExitBubbleGtk : public FullscreenExitBubble { | 20 class FullscreenExitBubbleGtk : public FullscreenExitBubble { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 // The widget that animates the slide-out of fullscreen exit bubble. | 70 // The widget that animates the slide-out of fullscreen exit bubble. |
| 71 scoped_ptr<SlideAnimatorGtk> slide_widget_; | 71 scoped_ptr<SlideAnimatorGtk> slide_widget_; |
| 72 | 72 |
| 73 // The timer that does the initial hiding of the exit bubble. | 73 // The timer that does the initial hiding of the exit bubble. |
| 74 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; | 74 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; |
| 75 | 75 |
| 76 ui::GtkSignalRegistrar signals_; | 76 ui::GtkSignalRegistrar signals_; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ | 79 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ |
| OLD | NEW |