Nicholas Nethercote
0eaecf55da
Bug 1325234 (part 4) - Streamline nsIWidget::{SetFocus,SetNonClientMargins}(). r=mstange.
...
This patch changes them from |NS_IMETHOD| to |virtual nsresult|.
--HG--
extra : rebase_source : 5e54c2fd340c393b33c9e1dcf20a80fe2f41b2f4
2016-12-21 11:13:08 +11:00
Nicholas Nethercote
1dab0c3072
Bug 1299335 (part 3) - Streamline nsIWidget::SetParent. r=mstange.
...
This patch removes its return value, because none of the call sites check it
except for one non-vital assertion.
--HG--
extra : rebase_source : 3471c4e22394b8a05c6708d0f8469686ffad9814
2016-12-16 10:54:11 +11:00
Nicholas Nethercote
367d94e34e
Bug 1293596 (part 7) - Make nsIWidget::Destroy infallible. r=karlt.
...
--HG--
extra : rebase_source : 403d279c432c70671aa85991868d006c1f2da81d
2016-08-10 10:04:11 +10:00
Nicholas Nethercote
cc993d1772
Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
...
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.
The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Bill McCloskey
19aec8471c
Bug 1174461 - [e10s] Return a cached result from SendGetNativePluginPort (r=jimm) a=kwierso
...
MozReview-Commit-ID: FyeWtg0Py5p
--HG--
extra : source : 0f2e90feea3b779e6b8cc8ca572c6313e1d0995e
2016-03-11 20:25:59 -08:00
Jonathan Kew
84b8c3a0a4
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Nicholas Nethercote
5a37352d4a
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
...
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Ryan VanderMeulen
e2c91f7727
Backed out changeset f612649fdbaf (bug 1174461) for causing bug bug 1182919. a=topcrash
2015-07-15 12:44:01 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jim Mathies
5df104fdfb
Bug 1174461 - Cache NS_NATIVE_PLUGIN_PORT on the content side since it never changes. r=aklotz
2015-07-09 19:07:48 -05:00
Bob Owen
dce35c582d
Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm
2015-06-15 16:08:51 +01:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Robert O'Callahan
7a165b59ca
Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
...
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jim Mathies
eb58cbcea5
Bug 1095754 - Now that the compositor handles plugin geometry updates, remove various main thread apis from PluginWidgetProxy. r=aklotz
2015-01-29 13:41:55 -06:00
Jim Mathies
abf9ba034f
Bug 669200 - On the child side implement a suitable nsIWidget wrapper for PPluginWidget based on PuppetWidget. r=billm
2014-11-12 14:59:20 -06:00