gecko-dev/browser
Michael Webster 1a8239407b Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt
This adds support for download progress reporting via the XApp
method currently used in the Cinnamon desktop, by establishing a new
X11 window property to be supported/read by the window manager.

See https://github.com/linuxmint/xapps/blob/master/libxapp/xapp-gtk-window.c,
as well as https://github.com/linuxmint/muffin/commit/39045da0ea06f
for more details.

The property-setting code lives in nsWindow - it's a small and stable
enough chunk that it made more sense to do this than actually depend on
another external library.  As nsWindow is already using x11 calls, this
seemed the safest place for it, without affecting the build.

The TaskbarProgress instance is initialized via the DownloadsTaskbar
js module, and is handed a pointer to the current main window to call
SetProgress on.  Most of the javascript side of this is in line with
how the other platforms are handled.

Without a supporting window manager/desktop environment (currently just
Cinnamon/Muffin 3.6,) the simplest way to observe working behavior is
by calling 'xprop -spy' on the browser window being testing and watching
for updates during a download.

--HG--
extra : rebase_source : 0606f6c87116204ec290c19276072d0c1c35691e
2018-03-08 18:43:00 +02:00
..
app No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-03-09 12:00:12 -08:00
base Bug 1444694 - Set up the initial browser and tab in a dedicated method. r=Gijs 2018-03-11 23:03:58 +01:00
branding bug 1442407 - Backed out 5 changesets for application update issues. r=backout, a=lizzard 2018-03-01 14:54:55 -08:00
components Bug 1418749 - Add a TaskbarProgress implementation for gtk3/x11. r=paolo,karlt 2018-03-08 18:43:00 +02:00
config Bug 1437695 - Add temporary stylo-only build job r=nfroyd 2018-02-26 14:42:39 -05:00
docs Bug 1370930 - remove DirectoryLinksProvider, r=Mardak 2018-03-01 16:53:49 +00:00
experiments Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian. 2018-03-06 12:01:59 +00:00
extensions Bug 1444522 - Add bookmark sync optimization, fixed modal position and bug fixes to Activity Stream. r=dmose 2018-03-09 15:20:54 -08:00
fonts
installer Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh 2018-03-11 18:47:14 +01:00
locales Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh 2018-03-11 18:47:14 +01:00
modules Bug 1442294 - Downgrade global streaming indicator when a higher priority device has been disabled. r=florian 2018-03-08 14:08:21 +01:00
themes Bug 1441102 - Replace --titlebar-text-color with a class. r=florian 2018-03-07 16:40:50 +01:00
tools/mozscreenshots Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian. 2018-03-06 12:01:59 +00:00
.eslintrc.js Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop 2018-02-07 16:16:09 +00:00
LICENSE
Makefile.in
app.mozbuild
build.mk
confvars.sh Bug 1415206 - Remove RustURL from Gecko r=bagder 2017-11-07 17:11:08 +01:00
defs.mk
moz.build Bug 1370930 - remove DirectoryLinksProvider, r=Mardak 2018-03-01 16:53:49 +00:00
moz.configure