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

Unified Diff: chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h

Issue 8295024: GTK version of new fullscreen exit bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h
diff --git a/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h b/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h
index b5f2543eb4dfc7b671fae113a82ba92072f91471..8528315955d41d8bc97c47367fa24e396cafcb0b 100644
--- a/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h
+++ b/chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.h
@@ -38,6 +38,8 @@ class FullscreenExitBubbleGtk : public FullscreenExitBubble {
private:
void InitWidgets();
+ std::string GetMessage(const GURL& url);
+ void HideButtons();
GtkWidget* widget() const {
return slide_widget_->widget();
@@ -46,12 +48,17 @@ class FullscreenExitBubbleGtk : public FullscreenExitBubble {
CHROMEGTK_CALLBACK_1(FullscreenExitBubbleGtk, void, OnSetFloatingPosition,
GtkAllocation*);
CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnLinkClicked);
+ CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnAllowClicked);
+ CHROMEGTK_CALLBACK_0(FullscreenExitBubbleGtk, void, OnDenyClicked);
// A pointer to the floating container that is our parent.
GtkFloatingContainer* container_;
- // The widget that contains the link.
- ui::OwnedWidgetGtk link_container_;
+ // The widget that contains the UI.
+ ui::OwnedWidgetGtk ui_container_;
+ GtkWidget* link_;
+ GtkWidget* allow_button_;
+ GtkWidget* deny_button_;
// The widget that animates the slide-out of fullscreen exit bubble.
scoped_ptr<SlideAnimatorGtk> slide_widget_;
@@ -61,7 +68,7 @@ class FullscreenExitBubbleGtk : public FullscreenExitBubble {
ui::GtkSignalRegistrar signals_;
- const GURL& url_;
+ const GURL url_;
bool show_buttons_;
};
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698