gecko-dev/browser
Kartikaya Gupta cf091ea0eb Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange
The machinery for suppressing the displayport during live resizes
was using the Observer service. However, in the case of multiple
browser windows, this meant that all the open browser windows would
have their displayport suppressed if *any* of the browser windows
was being resized. This was mostly ok, as the displayport suppression
would be turned off once the resize ended. However, the code to
kick off a repaint with the unsuppressed displayport would only get
triggered on one of the windows (whichever happened to process the
unsuppress message last).

This patch stops using the Observer service for the implementation
machinery, and instead locates the active TabParent of the relevant
nsWindow, and invokes the displayport suppression directly on that.
This fixes the repainting bug and also avoids unnecessarily
broadcasting the suppression/unsuppression notification to windows
that don't neccessarily need it.

MozReview-Commit-ID: LBHOgOW9KUp
2017-02-01 10:38:16 -05:00
..
app No bug, Automated blocklist update from host bld-linux64-spot-015 - a=blocklist-update 2017-01-27 18:39:07 -08:00
base Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange 2017-02-01 10:38:16 -05:00
branding
components Backed out changeset 4f2d1a062ed1 (bug 1228478) for mass test failures. r=backout on a CLOSED TREE 2017-01-30 18:34:36 +01:00
config Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal 2017-01-25 12:30:49 -05:00
docs
experiments Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps 2017-01-18 10:30:39 +00:00
extensions Merge inbound to central, a=merge 2017-01-30 15:44:58 -08:00
fonts
installer Bug 1334883 - Remove code NSIS pre-3.0a2 code from installer. r=mhowell 2017-01-31 11:25:18 +01:00
locales Bug 1334404 Update post-install notification message r=flod 2017-01-27 14:00:44 -08:00
modules Merge m-c to inbound, a=merge CLOSED TREE 2017-01-31 15:14:29 -08:00
themes Backed out changeset 4f2d1a062ed1 (bug 1228478) for mass test failures. r=backout on a CLOSED TREE 2017-01-30 18:34:36 +01:00
tools/mozscreenshots Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
.eslintrc.js
app-rules.mk
app.mozbuild
build.mk Bug 1333826 - Remove the make-sdk build target, the INSTALL_SDK variable, and all the supporting packager/upload machinery, r=mshal 2017-01-25 12:37:19 -05:00
confvars.sh Bug 1330875 - Remove MOZ_APP_STATIC_INI. r=mshal 2017-01-13 14:51:07 +09:00
defs.mk
LICENSE
Makefile.in
moz.build
moz.configure