Граф коммитов

23675 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 323d4a4185 Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout
Backed out changeset 82b765c5a02f (bug 1433968)
Backed out changeset 73ec9bb3e17e (bug 1433968)
Backed out changeset 0812ac0376da (bug 1433968)

--HG--
extra : amend_source : 2748b297418eea9b7d3c2be11a8e7e300f8d709c
extra : histedit_source : 6428453bbe80ad044661d01e5127d924fffed1a3%2Cd2e712ac6c597784343ff08f75199851c07be4e7
2018-05-07 17:06:30 +03:00
Dale Harvey 2beab3540e Bug 1455310 - Add title data and activity to sharing. r=mstange
MozReview-Commit-ID: IL4sqvRwSwu

--HG--
extra : rebase_source : ff973f92552931c725a81c177c02fcbd5c6aab63
2018-04-25 08:23:32 +01:00
Jim Chen ad471d48f6 Bug 1458327 - 1. Pass init-data instead of settings to Window; r=esawin
Instead of passing a live settings object to the native Window, pass a
static initialization data bundle to the Window. The bundle contains
settings at the time of creation. All changes to settings after creation
are updated through events, rather than the live object.

Using a live object between Gecko and UI threads has some drawbacks,
including the need to lock the object, and the fact it won't work with
remote runtimes across processes.

MozReview-Commit-ID: 1DngLfJ0Fnc

--HG--
extra : rebase_source : 05c0ba76ce7f45a02557cc1a30e399682dccd5a7
2018-05-04 21:08:10 -04:00
Milan Sreckovic 4712274b69 Bug 1455696: gfx.webrender.all.qualified preference to default to WR for non-blocked devices/hardware. gfx.webrender.all will still force it on. r=milan
--HG--
extra : rebase_source : 173f06f702ccc4eb93d0e4533316056cb07c88af
2018-05-03 13:02:00 +03:00
Botond Ballo 5b8cc7e2fa Bug 1458063 - Support constructing a PinchGestureInput with a focus point in Screen coordinates. r=kats
MozReview-Commit-ID: 9umkUEEWyBQ

--HG--
extra : rebase_source : 7d2d5498464c1460c1192976b84d28170b3cd98c
2018-05-02 16:41:47 -04:00
Botond Ballo 5db812fe01 Bug 1458063 - Give a name to the special (-1,-1) value of a pinch gesture event's focus point. r=kats
MozReview-Commit-ID: AtitjK2eCGa

--HG--
extra : rebase_source : c2090b54e21f885876808a68347421f277ca66c3
2018-05-02 16:36:17 -04:00
Botond Ballo ad612541e7 Bug 1458063 - Propagate the APZWheelAction to APZCTreeManager. r=kats
MozReview-Commit-ID: Kpr7NGLV7J5

--HG--
extra : rebase_source : 6e42ce08841c44b7c637ddbd878b5372d5d1225b
2018-05-02 12:57:23 -04:00
Cosmin Sabou f4a638c275 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
extra : rebase_source : 1f639132d6665996654d500be2620b147026bd7b
2018-05-02 18:09:14 +03:00
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Ryan Hunt 5516d12e7b Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
MozReview-Commit-ID: 1JewsArgmZz

--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Dão Gottwald 3277c04273 Bug 1457189 - Dispatch the resolutionchange event when changing the display resolution even if DPI remains the same. r=jimm
MozReview-Commit-ID: A0thvn5bBDy

--HG--
extra : rebase_source : 50795a1b7f7704b0cb636faf2f60acd89ea5bfab
2018-04-27 14:30:03 +02:00
Martin Stransky 6ee3163d08 Bug 1457691 - [Gtk/CSD] Don't set toplevel client offset when drawInTitlebar=false and we get _NET_FRAME_EXTENTS for it, r=jhorak
MozReview-Commit-ID: 7bRi9mHf2By

--HG--
extra : rebase_source : 4263470c8cb47a31cc0542c3f85b8ac7780911ce
2018-04-28 22:32:11 +02:00
Bas Schouten 8524a808f2 Bug 1447141 - Addition: Correct Vendor ID for old radeon device blacklist. r=milan 2018-04-28 08:07:45 +00: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
Csoregi Natalia 96dbf29680 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-28 00:56:47 +03:00
Martin Stransky 35578ac064 Bug 1457194 - Label mShell toplevel window so property_notify_event_cb callback can find its way home, r=jhorak
MozReview-Commit-ID: BGJNFnbEMQ3

--HG--
extra : rebase_source : 0f252d58affdf2bf3d6cdb31037d59116ae1faa4
2018-04-27 12:35:08 +02:00
Martin Stransky 8a535137df Bug 1457194 - [Gtk+\CSD] Don't estimate window offset for Gtk+ < 3.20, r=jhorak
MozReview-Commit-ID: JtxujODEHBO

--HG--
extra : rebase_source : ff6a571ae1a882556cdc8074c35847c8e71ecdb6
2018-04-27 12:30:13 +02:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Boris Zbarsky 4783772a18 Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot 2018-04-26 23:37:34 -04:00
Boris Zbarsky 6bf97b61c0 Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
shindli 1113a5f279 Merge inbound to mozilla-central. a=merge 2018-04-27 00:39:26 +03:00
Martin Stransky 122045c1fa Bug 1457309 - [Gtk+/CSD] Reset toplevel window offset when it's at maximized/fulscreenstate, r=jhorak
MozReview-Commit-ID: DQTVuquMSXn

--HG--
extra : rebase_source : 7d66109af3b04b73642ac23936ec3ae520c60e10
2018-04-27 11:14:00 +02:00
Emilio Cobos Álvarez c20d7a21d2 Bug 1449166: Trick GTK into using values from gtk_window_resize when showing maximized windows. r=karlt
So as to provide a sensible size for the window when the user exits maximized
state.

MozReview-Commit-ID: DSXawb85xmL

--HG--
extra : rebase_source : b65f9d8238061dab4b53ef2282d1d1102ec11ace
2018-04-19 14:35:37 +02:00
Martin Stransky 81b1272512 Bug 1456898 - Implement and use solid-csd decoration style to get window offset when solid-csd is used by mShell toplevel window, r=jhorak
Implement and use solid-csd decoration style to get window offset when solid-csd is used by mShell toplevel window.
Also does not apply margin (resize handler sizes) on popup window as well as Gtk+ do in get_shadow_width().

MozReview-Commit-ID: 9xozp9CCVJj

--HG--
extra : rebase_source : 687993d60b8f2063ed31f07ba2d7ab9f1faa09c8
2018-04-26 13:55:41 +02:00
Neil Deakin cf9835ac8b Bug 1446961, remove obsolete calls to showPopup and replace usages of the popup box object with the same methods defined on popups, r=paolo 2018-04-27 11:04:36 -04:00
Emilio Cobos Álvarez 6cc8c70c09 Bug 1456364 part 0 - Add a missing X11UndefineNone.h. r=xidorn
MozReview-Commit-ID: BCzHasDV4xe
2018-04-26 16:22:54 +02:00
Martin Stransky ec60249c43 Bug 1457120 - Use mozilla:: namespace at nsLookAndFeel module, r=jhorak
MozReview-Commit-ID: BXZzDAiY0e4

--HG--
extra : rebase_source : 5ffd86d54e75659ab75df99efe712606157a6f93
2018-04-26 14:59:55 +02:00
Dão Gottwald c6a2fbaa2b Bug 1457186 - Dispatch the resolutionchange event when DPI settings change on Mac and Linux. r=mstange
MozReview-Commit-ID: DEttWFKyA4

--HG--
extra : rebase_source : 2e204ccc465d88799be5178ef603a9a37f75b738
2018-04-26 17:33:51 +02:00
James Willcox 2d2a861611 Bug 1456608 - Add GeckoThread.crash() and GeckoProcessManager.crashChild() r=esawin,droeh
MozReview-Commit-ID: DYvoeNDKjY0
2018-05-01 10:43:22 -05:00
James Willcox defcbbcd48 Bug 1433968 - Add crash reporting control to GeckoRuntimeSettings r=esawin,jchen
MozReview-Commit-ID: TQ7hvekIVJ
2018-05-01 10:43:22 -05:00
Adrian Wielgosik b3c501adc4 Bug 1447389 - Remove nsIDOMNodeList. r=bz
MozReview-Commit-ID: 11szZP6dS6V

--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Masayuki Nakano 19af69cf33 Bug 1456381 - TSFTextStore should discard pending composition update actions before recording composition end action r=m_kato
TSFTextStore should discard pending composition update actions when it records
end composition update action because end composition update action causes
dispatching eCompositionCommit event and it replaces old composition string
anyway.  So, following eCompositionChange which is dispatched by preceding
composition update actions are just redundant.

MozReview-Commit-ID: HBHx2jA15ro

--HG--
extra : rebase_source : 74d1e91d73bf9c8182a9c5e3fd55d052d8ec4bea
2018-04-19 20:42:00 +09:00
Timothy Guan-tin Chien aaebd8920d Bug 1431246 - Create and update scrollbar markup in nsScrollbarFrame r=enndeakin+6102
nsScrollbarFrame::CreateAnonymousContent() would create the children
markup originally created by XBL. The attributes updated by XBL attribute
inheritance is updated by nsScrollbarFrame::UpdateChildrenAttributeValue().

This removes the XBL part of the scrollbar implementation.

MozReview-Commit-ID: FWi3HR2qkwF

--HG--
extra : rebase_source : c0b1b2ddbccb1d8e9d523db91a5b81fbcfa328e9
2018-04-09 22:01:02 +08:00
Martin Stransky 659fc0cc75 Bug 1454897 - Ubuntu/Ambiance - Render scrollbar thumb with different sizes in active/normal state, r=jhorak
This patch implements a workaround which alows us to emulate
overlay scrollbars for some Gtk+ themes (Ubuntu/Ambiance),
when an inactive scrollbar thumb is smaller than the active one.

We calculate thumb margin as thumb class margin + difference margin
between active and inactive scrollbars.

Also remove boolean parameter from GetScrollbarMetrics() and implement
GetActiveScrollbarMetrics() to get metrics for active scrollbar.

MozReview-Commit-ID: 2zje5OZskYw

--HG--
extra : rebase_source : dd50dc52d9d0942c9dcfbf72d217f3c6ee82c21a
2018-04-24 12:27:38 +02:00
Martin Stransky fb7161e5e2 Bug 1453930 - Use gtk_style_context_get_state() instead of GTK_STATE_FLAG_NORMAL to get widget border/margin/padding, r=jhorak
MozReview-Commit-ID: 6FaUpaaBt2Q

--HG--
extra : rebase_source : d18abdcd89edc01dcae0218a03ad7afd1860e68b
2018-04-13 13:41:27 +02:00
Martin Stransky efb19d9d96 Bug 1441665 - [Gtk] Update window offset explicitly when titlebar is disabled in CSD mode, r=jhorak
When system titlebar rendering is disabled and we're in CSD window mode, the window decorations are
rendered by client (application/Gtk) and we don't get _NET_FRAME_EXTENTS property (decoration size) update
for our toplevel window.

So we need to calculate the decoration/shadow size as Gtk+ does, we emulate get_shadow_width()
which is not exported by Gtk+.

MozReview-Commit-ID: K7o2rUPt6Yc

--HG--
extra : rebase_source : 86a3f12e760194b5828afed784f6aa02c352e017
2018-04-24 10:10:16 +02:00
Dale Harvey b6759085c8 Bug 1455304 - Filter unwanted sharing providers. r=mstange
MozReview-Commit-ID: 5FKHWzcJDYk

--HG--
extra : rebase_source : 6b997c83596fdd2a5ff294f38fb45d90d67209a7
2018-04-21 09:01:09 +01:00
Karl Tomlinson ad1b0c2466 bug 1455177 do not resize but only hide window when bounds make the window empty r=bradwerth
This restores behavior to that prior to https://hg.mozilla.org/mozilla-central/rev/cb0eda54dfab#l1.139

MozReview-Commit-ID: Kf8TCl7Xsg3

--HG--
extra : rebase_source : ca1856cb0cb37af6fdb755c3a17ab746b47c1610
2018-04-19 13:37:50 +12:00
Jonathan Watt 156c4af1ec Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Kartikaya Gupta 697a7719d0 Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow
MozReview-Commit-ID: 9yZknygQvFr

--HG--
extra : rebase_source : 8b7a2398bdabf52f2de1c5dbd30b6868c1e0bed0
2018-04-20 15:13:06 -04:00
Boris Zbarsky 5415ab3858 Bug 1455052 part 13. Remove nsIDOMEvent. r=masayuki
MozReview-Commit-ID: 3gmGy4URet3
2018-04-20 12:55:31 -04:00
Jonathan Kew 4b2b2d4c9f Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman 2018-04-20 17:18:03 +01:00
Gurzau Raul 6ef84d63ec Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Boris Zbarsky 597b4545d2 Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Boris Zbarsky b7f2b6976a Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 4NdssvnWn0H
2018-04-20 00:49:30 -04:00
Boris Zbarsky 01d792d54e Bug 1455055 part 7. Clean up remaining HandleEvent implementations. r=masayuki
MozReview-Commit-ID: LezJYKK74H5
2018-04-20 00:49:30 -04:00
Boris Zbarsky 2b6097ae6d Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
This does no cleanup other than what's needed to compile.  Cleanup coming up in
later patches.

MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Xidorn Quan 44232b9bb8 Bug 1454589 - Don't change window style according to sizemode if the window hasn't be shown. r=jimm
MozReview-Commit-ID: Hysc4yXapYW

--HG--
extra : rebase_source : 8dfd3684d59895405b9a4d63513ee3ae2fa490ab
2018-04-19 15:20:02 +10:00
Martin Stransky d9d0e359b8 Bug 1355143 - Size scrollbars with 'hover' Gtk+ state, r=jhorak
Ubuntu/Ambiance has tiny scrollbars when it's not hovered by mouse and large
ones when it's hovered/active. Our current Gtk+ toolkit code does not support such scrollbar
resize on the fly.

We use a workaround as we get size of active (hovered) scrollbar only and that
we pass to gecko. Then we draw scrolbar smaller when it's not hovered and full sized
when it's hovered.

MozReview-Commit-ID: mxt9q5Bcg9

--HG--
extra : rebase_source : f77304653f730ea1bca6fb453568f945b022c442
2018-04-18 11:09:19 +02:00
Martin Stransky 04bb88d159 Bug 1355143 - Provide ScrollbarGTKMetrics for active (mouse over) scrollbars, r=jhorak
MozReview-Commit-ID: 95d1jeQ8mXd

--HG--
extra : rebase_source : 44fd8d0df747b0ad6f8f4c6cbee442f5710d4006
2018-04-18 11:05:46 +02:00
Martin Stransky a1bb7c1c32 Bug 1355143 - Implement CreateStyleContextWithStates to style with fully stated css path, r=jhorak
MozReview-Commit-ID: ENWBekzq4Oq

--HG--
extra : rebase_source : 6c6c63af840629d5454166dba9e074d9c72b0371
2018-04-18 11:03:39 +02:00
Noemi Erli 875e5ed0a1 Merge inbound to mozilla-central. a=merge 2018-04-19 12:53:30 +03:00
Brad Werth 624c7063e3 Bug 1451098 Part 1: Add asserts to widget/gtk/nsWindow.cpp to fail early when setting an invalid window size. r=karlt
MozReview-Commit-ID: GHq7ik6EyIl

--HG--
extra : rebase_source : eaabcd5603a71a1367aa89b787b30b47476df199
2018-03-23 15:40:02 -07:00
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