Commit graph

116 commits

Author SHA1 Message Date
Neil Deakin
fcb7a6eb5e Bug 1614773, convert pdf viewer to use JSWindowActors so that it will work in out of process frames, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D76950
2020-06-06 21:49:33 +00:00
Neil Deakin
b8f7ac9956 Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-13 19:22:20 +00:00
Bogdan Tara
be25a1cf76 Backed out changeset 3a50d857d097 (bug 1591469) for newtab failures complaining about AboutReaderParent CLOSED TREE 2020-05-12 06:13:10 +03:00
Neil Deakin
f9054b8cff Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-12 01:06:51 +00:00
Jonas Jenwald
ed93ca2a18 Bug 1616157 - Ensure that the UI elements of the PDF viewer won't be affected by a non-standard global default zoom level. r=bdahl
This patch ensures that the PDF viewer UI elements won't be zoomed in/out, on either initial loading or when resetting the zoom level, when a non-standard global default zoom level is set. Also hides the zoom indicator, in the Address Bar, in this case to avoid inconsistent state when the PDF viewer is used.

Differential Revision: https://phabricator.services.mozilla.com/D64819

--HG--
extra : moz-landing-system : lando
2020-03-06 03:48:07 +00:00
Morgan Reschenberg
9d60e35ec9 Bug 1617544: Add tabHasCustomZoom property to tabbrowser to correctly store state when siteSpecific zoom is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D65036

--HG--
extra : moz-landing-system : lando
2020-03-04 02:30:07 +00:00
Morgan Reschenberg
c9f1371cfe Bug 1603494: Allow global zoom values to be read from CPS when site specific zoom is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62830

--HG--
extra : moz-landing-system : lando
2020-02-19 19:55:44 +00:00
Noemi Erli
82e5e2bd3a Backed out changeset 65dd9e70071a (bug 1603494) for browser chrome failures in browser_bug1369357_site_specific_zoom_level.js CLOSED TREE 2020-02-18 19:24:57 +02:00
Morgan Reschenberg
5deb4cc97b Bug 1603494: Allow global zoom values to be read from CPS when site specific zoom is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62830

--HG--
extra : moz-landing-system : lando
2020-02-18 16:16:02 +00:00
Brad Werth
67081368c7 Bug 1516413 Part 2: Make browser FullZoom act on the new zoom change events. r=mstange
This replaces the handling of the ZoomChangeUsingMouseWheel event with
2 new zoom events that trigger the actual zoom changes. As a side effect,
this allows the mousewheel and zoom in/out key events to have an effect
on Reader and PDFJS views as well.

Differential Revision: https://phabricator.services.mozilla.com/D59260

--HG--
extra : moz-landing-system : lando
2020-01-30 17:17:26 +00:00
Ciure Andrei
19fa2bbadb Backed out 2 changesets (bug 1516413) for causing browser_viewport_zoom_resolution_invariant.js to perma fail CLOSED TREE
Backed out changeset 0647ffc0cc6f (bug 1516413)
Backed out changeset a8d9460cdbd6 (bug 1516413)
2020-01-23 02:53:08 +02:00
Brad Werth
7aba9ae0bf Bug 1516413 Part 2: Make browser FullZoom act on the new zoom change events. r=mstange
This replaces the handling of the ZoomChangeUsingMouseWheel event with
2 new zoom events that trigger the actual zoom changes. As a side effect,
this allows the mousewheel and zoom in/out key events to have an effect
on Reader and PDFJS views as well.

Differential Revision: https://phabricator.services.mozilla.com/D59260

--HG--
extra : moz-landing-system : lando
2020-01-22 23:14:20 +00:00
Bogdan Tara
6b44dbdf87 Backed out 2 changesets (bug 1516413) for valgrind failure CLOSED TREE
Backed out changeset 8eb500f31661 (bug 1516413)
Backed out changeset 333368f257b3 (bug 1516413)
2020-01-23 00:53:42 +02:00
Brad Werth
0549d5f10b Bug 1516413 Part 2: Make browser FullZoom act on the new zoom change events. r=mstange
This replaces the handling of the ZoomChangeUsingMouseWheel event with
2 new zoom events that trigger the actual zoom changes. As a side effect,
this allows the mousewheel and zoom in/out key events to have an effect
on Reader and PDFJS views as well.

Differential Revision: https://phabricator.services.mozilla.com/D59260

--HG--
extra : moz-landing-system : lando
2020-01-22 21:43:14 +00:00
Morgan Reschenberg
6274ebbf20 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-24 01:56:32 +00:00
Noemi Erli
cc63a32cca Backed out changeset c8040f57cb4a (bug 1590485) fot failures in browser_default_zoom_multitab.js 2019-12-20 09:51:31 +02:00
Morgan Reschenberg
2895fb8739 Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-20 05:09:43 +00:00
Noemi Erli
c220488775 Backed out changeset a8e371771008 (bug 1590485) for failing in browser_default_zoom.js 2019-12-13 00:11:08 +02:00
Morgan Reschenberg
be77302b4e Bug 1590485: Add UI/UX and global zoom functionality. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50845

--HG--
extra : moz-landing-system : lando
2019-12-12 17:24:12 +00:00
Gijs Kruitbosch
46a3520d09 Bug 1557256 - handle scrollwheel zoom in reader mode, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D38069

--HG--
extra : moz-landing-system : lando
2019-07-16 13:18:46 +00:00
Jonas Jenwald
048ab60385 Bug 786674 - Forward browser chrome zoom events to the PDF.js viewer. r=bdahl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26338

--HG--
extra : moz-landing-system : lando
2019-07-15 13:06:37 +00:00
Victor Porof
f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
berkay.barlas
6ad3d5bf36 Bug 1536620 return default size in reader mode r=Gijs
Call Reader:ResetZoom only in readermode and make resetFontSize async
***
make resetFontSize async
***
call Reader:ResetZoom only in readermode
***

Differential Revision: https://phabricator.services.mozilla.com/D24445

--HG--
extra : moz-landing-system : lando
2019-03-27 10:56:03 +00:00
berkay.barlas
7feefb5c15 Bug 1135593 Make The Reader Mode controls sidebar not affected by page zoom actions r=Gijs
Roll up existing commits

Make updateFontSizeButtonControls separate method

Differential Revision: https://phabricator.services.mozilla.com/D23147

--HG--
extra : moz-landing-system : lando
2019-03-15 20:22:31 +00:00
Brian Grinstead
f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

Differential Revision: https://phabricator.services.mozilla.com/D14911

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Mike Conley
441aadf5f8 Bug 1492950 - Get browser-fullZoom.js and ZoomUI.jsm off of getBrowserForDocument. r=florian
Depends on D6710

Differential Revision: https://phabricator.services.mozilla.com/D6711

--HG--
extra : moz-landing-system : lando
2018-10-02 17:51:11 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Andreea Pavel
443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Doug Thayer
df67d38e71 Bug 1448944 - Avoid cps2 roundtrip for null principal about:blank r=Gijs
MozReview-Commit-ID: HeKrcoKo1EH

--HG--
extra : rebase_source : ec9ea0b79d1afd938f0ecf78d8a7e6543f3e4b93
2018-04-27 10:11:54 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Doug Thayer
12dbc1d126 Bug 887889 - Fix intermittent failure in browser_bug419612.js r=mak
MozReview-Commit-ID: 8gp5hdbnzaC

--HG--
extra : rebase_source : 3efe7b029ce776c513354fd482e214f4fd47185a
2018-04-20 09:35:40 -07:00
Boris Zbarsky
b43b5abed4 Bug 1453345 part 5. Remove pointless JS implemenations of QI to nsIDOMEventListener. r=smaug
MozReview-Commit-ID: Db0v6GZ0deo
2018-04-12 00:03:45 -04:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Florian Quèze
10acf21200 Bug 1381853 - load viewZoomOverlay.js and browser-fullZoom.js into the browser window lazily, r=mconley. 2017-07-23 00:17:55 +02:00
Chung-Sheng Fu
3f9fb1de56 Bug 1369357 - Enabling privacy.resistFingerprinting implies disabling browser.zoom.siteSpecific r=arthuredelstein,dao
MozReview-Commit-ID: XmzvzyUVnu

--HG--
extra : rebase_source : f8819d740923cdc1ebec3d4d76a718abbf39548c
2017-06-19 10:33:23 +08:00
Carsten "Tomcat" Book
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Jared Wein
7dbb0e91c3 Bug 1347413 - Remove the unused browser-fullZoom:zoomReset and browser-fullZoom:zoomChange notifications. r=dao,mccr8
MozReview-Commit-ID: GeqfVngo9QT
2017-03-15 11:26:57 -04:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Jared Wein
17ee4aac47 Bug 1315013 - part 2, remove unnecessary slash-star comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: LpP0OeyjqX9

--HG--
extra : rebase_source : 3bee2f5e8df7059609085e6b466849af5117b9df
2016-11-03 15:02:07 -04:00
Jared Wein
5040f17e00 Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6

--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00