diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-06-11 18:10:26 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-06-20 19:49:42 +0800 |
commit | 88198c2707d57b346bf6fcbb028dfd9aac4e0fae (patch) | |
tree | 042ced87abf7cee61449f2a6eabf7cf6b8b8f3d8 /src | |
parent | ec940554678b2776ef7e76e33ba1756cee0d3519 (diff) | |
download | gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar.gz gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar.bz2 gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar.lz gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar.xz gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.tar.zst gsoc2013-epiphany-88198c2707d57b346bf6fcbb028dfd9aac4e0fae.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 2 | ||||
-rw-r--r-- | src/resources/epiphany.css | 7 |
2 files changed, 9 insertions, 0 deletions
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; +} |