From 88198c2707d57b346bf6fcbb028dfd9aac4e0fae Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Mon, 11 Jun 2012 13:10:26 +0300 Subject: ephy-embed: show a message popup when entering fullscreen mode The message is different depending on whether we are entering HTML5 fullscreen mode or application fullscreen, since the keys used to leave either mode are different. https://bugzilla.gnome.org/show_bug.cgi?id=671195 --- src/ephy-window.c | 2 ++ src/resources/epiphany.css | 7 +++++++ 2 files changed, 9 insertions(+) (limited to 'src') diff --git a/src/ephy-window.c b/src/ephy-window.c index 3a19b6307..3bbdab698 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -818,6 +818,7 @@ ephy_window_fullscreen (EphyWindow *window) sync_tab_security (ephy_embed_get_web_view (embed), NULL, window); sync_chromes_visibility (window); + ephy_embed_entering_fullscreen (embed); } static void @@ -827,6 +828,7 @@ ephy_window_unfullscreen (EphyWindow *window) window->priv->chrome = window->priv->pre_fullscreen_chrome; sync_chromes_visibility (window); + ephy_embed_leaving_fullscreen (window->priv->active_embed); } static gboolean diff --git a/src/resources/epiphany.css b/src/resources/epiphany.css index 546eeb99b..113856f42 100644 --- a/src/resources/epiphany.css +++ b/src/resources/epiphany.css @@ -18,3 +18,10 @@ padding-left: 0; padding-right: 0; } + +#fullscreen-popup { + background-color: alpha (black, 0.7); + color: white; + padding: 12px; + border-radius: 10px; +} -- cgit v1.2.3