| 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/fullscreen_exit_bubble_type.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 } | 49 } |
| 50 | 50 |
| 51 CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition, | 51 CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition, |
| 52 GtkAllocation*); | 52 GtkAllocation*); |
| 53 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked); | 53 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked); |
| 54 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnAllowClicked); | 54 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnAllowClicked); |
| 55 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnDenyClicked); | 55 CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnDenyClicked); |
| 56 | 56 |
| 57 // A pointer to the floating container that is our parent. | 57 // A pointer to the floating container that is our parent. |
| 58 GtkFloatingContainer* container_; | 58 GtkFloatingContainer* container_; |
| 59 GtkWidget* render_widget_host_view_widget_; | |
| 60 | 59 |
| 61 // The widget that contains the UI. | 60 // The widget that contains the UI. |
| 62 ui::OwnedWidgetGtk ui_container_; | 61 ui::OwnedWidgetGtk ui_container_; |
| 63 GtkWidget* instruction_label_; | 62 GtkWidget* instruction_label_; |
| 64 GtkWidget* hbox_; | 63 GtkWidget* hbox_; |
| 65 GtkWidget* message_label_; | 64 GtkWidget* message_label_; |
| 66 GtkWidget* button_link_hbox_; | 65 GtkWidget* button_link_hbox_; |
| 67 GtkWidget* link_; | 66 GtkWidget* link_; |
| 68 GtkWidget* allow_button_; | 67 GtkWidget* allow_button_; |
| 69 GtkWidget* deny_button_; | 68 GtkWidget* deny_button_; |
| 70 | 69 |
| 71 // The widget that animates the slide-out of fullscreen exit bubble. | 70 // The widget that animates the slide-out of fullscreen exit bubble. |
| 72 scoped_ptr<SlideAnimatorGtk> slide_widget_; | 71 scoped_ptr<SlideAnimatorGtk> slide_widget_; |
| 73 | 72 |
| 74 // The timer that does the initial hiding of the exit bubble. | 73 // The timer that does the initial hiding of the exit bubble. |
| 75 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; | 74 base::OneShotTimer<FullscreenExitBubbleGtk> initial_delay_; |
| 76 | 75 |
| 77 ui::GtkSignalRegistrar signals_; | 76 ui::GtkSignalRegistrar signals_; |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ | 79 #endif // CHROME_BROWSER_UI_GTK_FULLSCREEN_EXIT_BUBBLE_GTK_H_ |
| OLD | NEW |