| OLD | NEW |
| 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 "chrome/browser/ui/fullscreen_exit_bubble.h" | 9 #include "chrome/browser/ui/fullscreen_exit_bubble.h" |
| 10 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" | 10 #include "chrome/browser/ui/gtk/slide_animator_gtk.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 } | 42 } |
| 43 | 43 |
| 44 CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition, | 44 CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition, |
| 45 GtkAllocation*); | 45 GtkAllocation*); |
| 46 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked); | 46 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked); |
| 47 | 47 |
| 48 // A pointer to the floating container that is our parent. | 48 // A pointer to the floating container that is our parent. |
| 49 GtkFloatingContainer* container_; | 49 GtkFloatingContainer* container_; |
| 50 | 50 |
| 51 // The widget that contains the link. | 51 // The widget that contains the link. |
| 52 OwnedWidgetGtk link_container_; | 52 ui::OwnedWidgetGtk link_container_; |
| 53 | 53 |
| 54 // The widget that animates the slide-out of fullscreen exit bubble. | 54 // The widget that animates the slide-out of fullscreen exit bubble. |
| 55 scoped_ptr<SlideAnimatorGtk> slide_widget_; | 55 scoped_ptr<SlideAnimatorGtk> slide_widget_; |
| 56 | 56 |
| 57 // The timer that does the initial hiding of the exit bubble. | 57 // The timer that does the initial hiding of the exit bubble. |
| 58 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; | 58 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; |
| 59 | 59 |
| 60 ui::GtkSignalRegistrar signals_; | 60 ui::GtkSignalRegistrar signals_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ | 63 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ |
| OLD | NEW |