Coroiu Cristina
374b919ce6
Merge inbound to mozilla-central a=merge
2018-04-18 13:44:22 +03:00
Nika Layzell
5e2e5fc993
Bug 1444991 - Part 5: Make some XPCOM methods more strongly typed, r=bz
...
This patch goes through and changes a bunch of places in our tree which mention
this bug to use the new feature, making the methods more strongly typed.
There are probably more places in tree which could be changed, but I didn't try
to find them.
2018-04-17 19:21:05 -04:00
Csoregi Natalia
cc8f2c09f1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-18 01:39:35 +03:00
Kris Maglione
0f40271841
Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
...
This was done using the script at:
bc5629735d/processors/add-task-async.jsm
?at=default&fileviewer=file-view-default
MozReview-Commit-ID: KxuS9Cen87
--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Jan Horak
360d03d095
Bug 1411589 - Notify flatpak print portal that print to file has finished, r=stransky
...
The GTK print portal is notified by the observer service with 'print-to-file-finished'
topic. The print filename is used as an identifier of the target in case multiple
printing jobs are in progress.
MozReview-Commit-ID: 1BZKDcK5De3
--HG--
extra : rebase_source : 5234aea32097cff4fc9f74f1b522cd04b2be8db1
2018-04-16 12:28:51 +02:00
Jan Horak
7628529d74
Bug 1411589 - Implement printing support for the flatpak portal, r=stransky
...
In the flatpak environment the applications do not have access to the printers.
They need to use printing portal implemented by DBUS interface. The patch
implements support for printing portal by introducing nsFlatpakPrintPortal class.
1. it request print portal to show the print dialog
2. waits until print dialog is finished
3. setup observer for 'print-to-file-finished' topic
4. pass file descriptor of the printed file to the portal when the observer is notified
MozReview-Commit-ID: 3nZtYx7KzK6
--HG--
extra : rebase_source : f116aff4d62ebaa38d0527f95daf4b36481ceb35
2018-04-05 16:44:35 +02:00
Markus Stange
d649a6d091
Bug 1403989 - Automatically treat black menu icons as templates, so that they get drawn inverted in hovered menuitems. r=jrmuizel,spohl
...
MozReview-Commit-ID: Bn69Ij0BfRa
--HG--
extra : rebase_source : 9d2d7d0797d89d0b7cf6685d29e458795f518e9d
extra : source : 7b389e4f44679c086a4a510da264f2f0531267ec
2018-04-16 15:23:23 -04:00
Brindusan Cristian
667fae7dc8
Merge inbound to mozilla-central. a=merge
2018-04-17 12:53:33 +03:00
Nicholas Nethercote
51f2b494ea
Bug 1448222 - Remove MediaPrefs. r=jya
...
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.
Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.
Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.
MozReview-Commit-ID: IfHP37NbIjY
--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00
Florian Quèze
8381200df3
Bug 1450293 - Avoid starting the GPU process for the initial navigator:blank window, r=jimm.
2018-04-16 23:15:05 +02:00
Markus Stange
dc2e7f64fa
Bug 1421088
- Move code out of DrawWidgetBackground into a new method called ComputeWidgetInfo. r=spohl
...
MozReview-Commit-ID: 2XeZHH4lJrj
--HG--
extra : rebase_source : 40c05f8748b8534dbc55a1cea1d44f1fbd4321a1
extra : source : 359f50ab6156dc33aa04dda62816b87fe3883d7d
2018-04-14 23:31:11 -04:00
Dale Harvey
5aeada7d94
Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
...
MozReview-Commit-ID: sJXl2If9Ou
--HG--
extra : rebase_source : b88ff89e1d28bab28c3575c2f7f30c91bd584aea
2018-03-12 09:16:51 +00:00
Markus Stange
74682ab717
Bug 1421088
- Move rendering code out into a separate method. r=spohl
...
MozReview-Commit-ID: 9lxf0VPYaK8
--HG--
extra : rebase_source : 1e63d6b292f39d97fd54156c71199c1af5a1ea49
extra : intermediate-source : bae3b78391709cf3f00301d90bbac6a458d14446
extra : source : 2d2a595a6d150e3435a11c77609a509bbb8d264f
2017-11-18 18:53:54 -05:00
Markus Stange
db34652d0c
Bug 1421088
- Create a WidgetInfo struct and route drawing through it. r=spohl
...
MozReview-Commit-ID: 1pKgNAodbev
--HG--
extra : rebase_source : d3512cd040aa3730d5ba2bbad115838589b2b9c6
2018-04-14 23:19:18 -04:00
Markus Stange
c8c263cd37
Bug 1421088
- Create a DrawNativeTitlebar overload that takes a UnifiedToolbarParams param. r=spohl
...
MozReview-Commit-ID: Gxe4qIZV7HI
--HG--
extra : rebase_source : c9f2b295bf7270f2167641ec27901878f5b362f7
2017-12-01 19:54:29 -05:00
Markus Stange
b1e02d2039
Bug 1421088
- Create DrawSourceList. r=spohl
...
MozReview-Commit-ID: AZoLMcl9YLr
--HG--
extra : rebase_source : e7cceabfe8fd25043fe88227aebf143f7a90ffcf
2017-12-01 18:01:16 -05:00
Markus Stange
988c7e9da6
Bug 1421088
- Create DrawMenuSeparator. r=spohl
...
MozReview-Commit-ID: Lvab4zMrs2D
--HG--
extra : rebase_source : 498341b5c59b0e13f6133253764c375cbf3ea169
2017-12-01 17:58:02 -05:00
Markus Stange
6868ae0bf5
Bug 1421088
- Create DrawToolbar. r=spohl
...
MozReview-Commit-ID: 3NMidcVazQo
--HG--
extra : rebase_source : 18cc2df0dd61a5039b8ce50d634441cf6645e702
2017-12-01 17:55:02 -05:00
Markus Stange
a2bb203dde
Bug 1421088
- Create DrawMultilineTextField. r=spohl
...
MozReview-Commit-ID: CyAhfGVmfzs
--HG--
extra : rebase_source : 2ee20f5002009fb8877196fb70922a730c4f7ab1
2017-12-01 18:35:45 -05:00
Markus Stange
797692f34e
Bug 1421088
- Don't pass an nsIFrame* to DrawResizer. r=spohl
...
MozReview-Commit-ID: hQbnCke2zN
--HG--
extra : rebase_source : 0b2ff8b2985f36dd9a171e29ba141d1ed6b84603
2017-12-01 18:31:18 -05:00
Markus Stange
23249fd625
Bug 1421088
- Don't pass an nsIFrame* to DrawStatusBar. r=spohl
...
MozReview-Commit-ID: 6KU2OyZb9BS
--HG--
extra : rebase_source : adbcf1d3a51ed814a4d7055f7a8f8516946022f9
2017-12-01 18:08:35 -05:00
Markus Stange
3b4bd55c63
Bug 1421088
- Remove unused parameters from DrawFocusOutline. r=spohl
...
MozReview-Commit-ID: Kd6Rxl58Xwh
--HG--
extra : rebase_source : f2e8d2966ae16350bfa076aa818bac57a08bbb1e
2017-12-01 18:07:24 -05:00
Markus Stange
416548794d
Bug 1421088
- Don't pass an nsIFrame* to DrawTabPanel. r=spohl
...
MozReview-Commit-ID: JeWt76t7rRQ
--HG--
extra : rebase_source : 0beb552cf3d4713e6f73c32d7abbd6a0e1e0aaa7
2017-12-01 18:03:12 -05:00
Markus Stange
1c8b5e6c53
Bug 1421088
- Don't pass an nsIFrame* to DrawScale, and create DrawScrollbarTrack and DrawScrollbarThumb. r=spohl
...
MozReview-Commit-ID: 8MPG7ZlBvVD
--HG--
extra : rebase_source : b10d52492b0264e1b01795647f72f3e01889e2ff
2018-04-14 23:06:29 -04:00
Markus Stange
62c8f8f488
Bug 1421088
- Don't pass an nsIFrame* to DrawMeter. r=spohl
...
MozReview-Commit-ID: 63ZuRb6VRSY
--HG--
extra : rebase_source : 4a2c47cf025069ed4fecb0d71befed283ed1436c
2017-11-30 18:59:27 -05:00
Markus Stange
ceea95633b
Bug 1421088
- Don't pass an nsIFrame* to DrawProgress. r=spohl
...
MozReview-Commit-ID: 7fxBzCyp239
--HG--
extra : rebase_source : 5ba40ddcb96125eb62f19213aa4b76544e475926
2018-04-14 22:43:04 -04:00
Markus Stange
02199fdb2b
Bug 1421088
- Don't pass an nsIFrame* to DrawSearchField. r=spohl
...
MozReview-Commit-ID: 3hlBThgIDt5
--HG--
extra : rebase_source : ed658a76d75c9daca09230413ccd0639c29ccf4d
2017-11-30 18:51:24 -05:00
Markus Stange
4fb1684324
Bug 1421088
- Rename DrawFrame to DrawTextBox and stop passing an nsIFrame* to it. r=spohl
...
MozReview-Commit-ID: 1hGVXNhbomJ
--HG--
extra : rebase_source : 37f57d72538b35db012a8238faa13274050119bc
2018-04-14 22:29:57 -04:00
Markus Stange
efe7856118
Bug 1421088
- Don't pass an NSWindow* to DrawUnifiedToolbar. r=spohl
...
MozReview-Commit-ID: 52uB5QeVsVw
--HG--
extra : rebase_source : d0ddfa0065dac20acdfd988c62f656e9a4d805f2
2017-11-30 18:46:37 -05:00
Markus Stange
2c79d13c9c
Bug 1421088
- Don't pass an nsIFrame* to DrawSegment. r=spohl
...
MozReview-Commit-ID: 7qe0V7agqzs
--HG--
extra : rebase_source : 4c33e23abd17213c35d27b24d2733583a4bed6a9
2018-04-14 22:26:24 -04:00
Markus Stange
30328b9a50
Bug 1421088
- Don't pass an nsIFrame* to DrawSpinButton / DrawSpinButtons. r=spohl
...
MozReview-Commit-ID: AtY1eoiXcCa
--HG--
extra : rebase_source : 2673f804a31b9621f897dde37affc30b112a3063
2018-04-14 22:14:19 -04:00
Markus Stange
25cd320969
Bug 1421088
- Don't pass an nsIFrame* to DrawDropdown. r=spohl
...
MozReview-Commit-ID: IdkoAb1rOjE
--HG--
extra : rebase_source : ae11f27aab9d45aed251e37a914e6bb38efd221b
2018-04-14 22:07:23 -04:00
Markus Stange
b60fe986d0
Bug 1421088
- Don't pass an nsIFrame* to DrawCheckboxOrRadio. r=spohl
...
MozReview-Commit-ID: 6LGIVGJAQ6W
--HG--
extra : rebase_source : f46586ed89b11e32dc841e7916c09a0884190f88
2017-11-30 17:50:33 -05:00
Markus Stange
42fa6e0ed7
Bug 1421088
- Change the API of DrawMenuIcon and add DrawMenuItem. r=spohl
...
MozReview-Commit-ID: 3JedJfgx9pZ
--HG--
extra : rebase_source : a8c25c36eb5653280e47213b4490b7f0c99c37ec
2018-04-14 22:00:18 -04:00
Markus Stange
987089caed
Bug 1421088
- Move menu background drawing into a separate method. r=spohl
...
MozReview-Commit-ID: CSa4zlI8juN
--HG--
extra : rebase_source : 5821c0996d6b5f7afe6c97d22882220d0bbde224
2018-04-14 21:56:23 -04:00
Markus Stange
d2d427a0cb
Bug 1421088
- Route more button types through DrawButton. r=spohl
...
MozReview-Commit-ID: 8AhEnEi5UCZ
--HG--
extra : rebase_source : 764543f9104e1a8866e24b7aa50df8688b7c7336
2017-11-30 16:47:59 -05:00
Markus Stange
e3f903540e
Bug 1421088
- Give nsNativeThemeCocoa::DrawButton a different API. r=spohl
...
MozReview-Commit-ID: DjMurwHZD5K
--HG--
extra : rebase_source : bec85c26a729b5d44aac3bb59fe38d70534f8970
2018-04-14 21:48:09 -04:00
Markus Stange
e31e82186d
Bug 1421088
- Create a separate method for drawing tree header cells. r=spohl
...
MozReview-Commit-ID: 23CJfyrDoIN
--HG--
extra : rebase_source : 36fdf3c991e7a8377bebc37e88440229fd2a681e
2018-04-14 21:22:08 -04:00
Markus Stange
8d4a7edc62
Bug 1421088
- Split DrawPushButton into four functions and group the frame-dependent information into a struct. r=spohl
...
MozReview-Commit-ID: COs3yaGTqMv
--HG--
extra : rebase_source : 5085081b5de790ceedba5136095be4065de0def3
2018-04-14 21:13:10 -04:00
Markus Stange
e99d3a5307
Bug 1421088
- Simplify search field cell management and make the "is-within-toolbar" computation eager instead of lazy. r=spohl
...
MozReview-Commit-ID: GkMSvimeuaf
--HG--
extra : rebase_source : 878f44b8d22ee60f2e97a9166f7fb7475c2cfd3b
2018-04-13 18:19:32 -04:00
Masayuki Nakano
c389fb3752
Bug 1440189 - Stop dispatching keypress event to the default event group in web content (only Nightly and early Beta) unless web page isn't in blacklist r=smaug
...
UI Events declares that keypress event should be fired only when the keydown
sequence produces some characters. For conforming to UI Events and
compatibility with the other browsers, we should stop dispatching keypress
events for non-printable keys.
For getting regression reports, we should enable this new behavior only
on Nightly.
However, some web apps actually broken with the standardized behavior. For
protecting testers from known broken web apps, this patch introduces a
blacklist to take the traditional behavior under specific domain (and path in
it, optionally). Currently, docs.google.com and mail.google.com are set by
default.
MozReview-Commit-ID: HSrYX8LUB0p
--HG--
extra : rebase_source : a2677d07410af289534db051767543a25c9a957a
2018-03-23 12:06:55 +09:00
Andreea Pavel
69ae5fe098
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-04-14 00:58:36 +03:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Tom Bannister
988d18881f
Bug 1434710 - Replaced all instances of mozilla::IndexSequence, mozilla::MakeIndexSequence and mozilla::IndexSequenceFor with std::index_sequence, std::make_index_sequence and std::index_sequence_for and removed mfbt/IndexSequence.h. r=botond
...
MozReview-Commit-ID: 1Ema7TUNr5v
--HG--
extra : rebase_source : e5bb164dbe19993214e8c16f92b0a1f5d2ff3fa1
2018-04-09 21:12:13 +10:00
arthur.iakab
fca4426325
Merge inbound to mozilla-central. a=merge
2018-04-13 19:01:59 +03:00
Sebastian Hengst
043061beb5
merge mozilla-central to mozilla-inbound
2018-04-13 16:05:58 +03:00
Sebastian Hengst
82f65475ee
merge mozilla-central to autoland
2018-04-13 16:04:29 +03:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Bas Schouten
45f1c7b8eb
Bug 1447141: Blacklist all acceleration on a small subset of AMD device/driver combinations that show up in content crashes. r=milan
...
MozReview-Commit-ID: FTBPGRTdmUG
2018-04-13 14:06:52 +02:00
Zhang Junzhi
1f63801545
Bug 1358017 - Part 9: Updates some existing mochitests which are not meant to test default actions for wheel events but are affected by auto-dir scrolling. r=masayuki
...
Some mochitests are not meant to test default actions for wheel events, but they
assume audo-dir is disabled when doing tests for their purposes, so this commit
disables auto-dir for those mochitests.
MozReview-Commit-ID: 5ZQIxgRVpj5
--HG--
extra : rebase_source : a185a2f65179ec9162ec04209b4eb29e8c04125b
2018-04-03 20:23:19 +08:00