Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Ben Tian
1d3df2ccde
Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey
2016-05-06 16:09:03 +08:00
Benoit Girard
c089c3f45c
Bug 1264530
- Make sure mPluginWindow is initialized. r=njn
2016-04-29 08:51:00 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Masayuki Nakano
b332dc9ff4
Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
...
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved. However, posting all key events to the chrome process may make damage to the performance of text input. Therefore, this patch starts to post a key event whose key combination may be a shortcut key. However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.
For receiving response from widget, this patch defines nsIKeyEventInPluginCallback. It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply. Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process. However, if the widget is a PuppetWidget, it cannot return the result synchronously. Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks. Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().
MozReview-Commit-ID: G6brOU26NwQ
--HG--
extra : rebase_source : 8140456de278956d2d594e85c7b397ae366b4962
2016-04-19 20:09:37 +09:00
Masayuki Nakano
f19611cb89
Bug 1257759 part.2 Separate Windows' message and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h r=jimm
...
This patch separates Windows' message definition and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h because the definitions are useful in plugin module but nsWindowDefs.h cannot be included from plugin module since it depends on some headers in under widget.
MozReview-Commit-ID: KNUAffLMKT1
--HG--
rename : widget/windows/nsWindowDefs.h => widget/windows/WinMessages.h
extra : rebase_source : ae9390e700ca97a0a4eea3b2977d4d5568ce9408
2016-04-09 15:15:31 +09:00
David Anderson
70e16efcdf
Remove dead code from nsPluginInstanceOwner::GetPluginPort. (bug 1266513, r=jimm)
2016-04-21 15:02:08 -04:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01:00
Masayuki Nakano
1e0825ccd9
Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
...
MozReview-Commit-ID: 64lFZosnMbd
--HG--
extra : rebase_source : 1e103c5255a702d46f78c6f544981b0e82e2d23c
2016-04-01 00:10:09 +09:00
Masayuki Nakano
e462919d2b
Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
...
MozReview-Commit-ID: 1j8SFp6bME4
--HG--
extra : rebase_source : 18b080a4938925547b2f5b7fa66908c75211a345
2016-04-01 00:10:46 +09:00
Masayuki Nakano
a2da982fdb
Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
...
MozReview-Commit-ID: Ky3xp2NtBWq
--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Masayuki Nakano
cea0b9cf02
Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
...
MozReview-Commit-ID: 1SgMbTL8csl
--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Kyle Machulis
869a7a0a24
Bug 1171182 - Browser Zoom Query for NPAPI; r=bsmedberg r=jaas
2016-03-18 10:50:50 -07:00
Dylan Roeh
573869a701
Bug 1243639 - Remove Honeycomb flash-related code. r=snorp
...
--HG--
extra : rebase_source : e15895b5b672be06fd3a3935824e702a37292545
2016-03-03 10:30:53 -05:00
Jim Mathies
744331de7b
Bug 1232181
- Add an image layer for plugin frames that represent windowed plugins on platforms that support scroll capture. r=roc
2016-03-01 12:48:26 -06:00
Jim Mathies
e1dc9da3f2
Bug 1232181
- Notify plugins about scroll state. r=roc
2016-03-01 12:48:26 -06:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Makoto Kato
ba11a89326
Bug 1243268 - Support ImmSetCandidateWindow(CFS_EXCLUDE) on plugin process. r=masayuki
2016-02-02 17:05:56 +09:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
583ca7286d
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Sebastian Hengst
d8d4a2d1a5
Backed out 2 changesets (bug 1224374
) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374
)
Backed out changeset 0dc02cb0b604 (bug 1224374
)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08
Bug 1224374
- Profiler labels for the top 26-100 chrome hangs;r=BenWa
...
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Aidin Gharibnavaz
e6606278c0
Bug 1230216
- Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
...
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Makoto Kato
e3de02b1b4
Bug 1235573 - Don't post GCS_RESULTSTR when plugin doesn't handle WM_IME_COMPOSITION correctly. r=masayuki
2016-01-12 17:47:38 +09:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Timothy Nikkel
65f6bdf96f
Bug 1194851. Change one instance of GetDisplayPort to HasDisplayPort. r=botond
2016-01-07 18:27:48 -06:00
Nicholas Nethercote
f447bec986
Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
...
The only non-trivial change is in BasicPaintedLayer::Validate().
--HG--
extra : rebase_source : 7eed0e384d2d856d918ad025b09e29f796017f51
2015-12-17 19:39:10 -08:00
Nicholas Nethercote
67e5c3ea2c
Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc.
...
--HG--
extra : rebase_source : cc16e7a77d8d60706cd0406c859aece88d7b18c3
2015-12-17 19:39:09 -08:00
Makoto Kato
d2c2d37a8b
Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
000416b7b5
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
7d206bd88b
Bug 1208944 - Part 2-a. Handle CompositionEvent on plugin. r=masayuki
2015-12-29 22:57:37 +09:00
Sebastian Hengst
e082884d78
Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
...
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Makoto Kato
da206c5192
Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
836a9aee5c
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
6046567f5d
Bug 1208944 - Part 2-a. Handle CompositionEvent on plugin. r=masayuki
2015-12-29 22:57:37 +09:00
Jim Mathies
50b1f1a07b
Back out cset a3bb1bf0b330 (bug 1222662) to make way for a better fix.
...
--HG--
extra : commitid : 6jaxqXGBCHL
2015-12-24 12:44:11 -05:00
Jim Mathies
b36a657815
Bug 1222662 - Hook SetCursor calls from windowless flash and update the cursor when flash tries to override the content area cursor. r=aklotz
2015-12-10 17:42:28 -05: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
90bbac13cc
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -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
David Anderson
ca5122668a
Implement the DidComposite NPAPI callback. (bug 1217665 part 8, r=mattwoodrow)
...
--HG--
extra : rebase_source : 4df420dcfb01db1d5fc9136bbb4c428a7ea59266
2015-12-02 11:31:17 -08:00
David Anderson
55f75a9936
Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz)
...
--HG--
extra : rebase_source : e106bcfe1d671bcff1175b08d47bd8fd2768d64e
2015-12-02 11:31:16 -08:00
Robert O'Callahan
ebca112669
Bug 1198663. Tolerate null Image in Android NPAPI plugins. r=snorp
...
--HG--
extra : commitid : FdJDH9TFrxW
extra : rebase_source : c68370c63e82749ac8a376a0449820e789f1a124
2015-11-23 15:03:00 +13:00
Nicholas Nethercote
e60696c015
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
Birunthan Mohanathas
399934f259
Bug 1217307
- Remove some unnecessary null checks in rest of dom/. r=njn
2015-11-19 09:13:49 +02:00
David Anderson
ec187774dc
Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
David Anderson
cb88eed605
Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp)
2015-11-17 00:09:00 -08:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
David Anderson
bfa112caf5
Remove Mac-specific synchronous plugin drawing code. (bug 1218688 part 3, r=benwa)
2015-10-28 10:50:45 -07:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Masayuki Nakano
b65ae81de5
Bug 376679 part.6 nsPluginInstanceOwner::ProcessEvent() should refer both deltaMode and system scroll amount settings when it generates WM_MOSUE*WHEEL messages r=jimm
2015-10-16 13:19:27 +09:00
Masayuki Nakano
41c2c97fb2
Bug 376679 part.5 nsPluginInstanceOwner::ProcessEvent() should create WM_MOUSE*WHEEL message from WidgetWheelEvent data r=smaug+jimm
2015-10-16 13:19:27 +09:00
Nicholas Nethercote
342466f878
Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
...
Also...
- Rename various "operator" identifiers as "op" to match |CompositionOp|.
- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
|CompositionOp|.
- Remove some deprecated functions that are no longer needed.
--HG--
extra : rebase_source : 74e9b6eecf6f442e27cc18fd4ae6f668a45188aa
2015-09-24 22:38:58 -07:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Masayuki Nakano
1b3c9e86cd
Bug 895274 part.147 Rename NS_MOUSE_SCROLL to eLegacyMouseLineOrPageScroll r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
a07c726a8f
Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
811d0fac7e
Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
35e18152d5
Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
cc5db3b160
Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug
2015-09-02 15:08:00 +09:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
ba5b3f3fe6
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Jim Chen
d1f529698f
Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin
2015-08-13 00:53:39 -04:00
Bob Owen
61331f3269
Bug 1182411 Part 2: Change winless popup surrogate to have its parent set in the chrome process. r=jimm
...
The creation of the surrogate native window in the child NPAPI process was
failing when then sandbox was at low integrity, because the parent is from the
chrome process, so at medium integrity.
Instead of making an IPC call to get the parent, we now create the window upfront
and send it in an IPC message to be parented in the chrome process.
This is done with asynchronous messaging.
2015-08-12 16:00:26 +01:00
Christoph Kerschbaumer
e5e3756c82
Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp - simplifications in instanceowner (r=sicking)
2015-08-04 20:06:03 -07:00
Jim Mathies
ed992e839c
Bug 1177367 - Don't fall through to non-e10s plugin widget creation when e10s creation fails. r=aklotz
2015-07-06 13:10:46 -05:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Chris Peterson
aafa5f2541
Bug 554186 - Part 2: Remove unused nsPluginInstanceOwner::ShowNativeContextMenu(). r=josh
2015-06-14 22:11:06 -07:00
Chris Peterson
041ccf4347
Bug 554186 - Part 1: Unimplement NPN_Status API. r=josh
2015-06-13 22:50:03 -07:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Aaron Klotz
f1aa8a8472
Bug 1141081
- Add weak reference support to HTMLObjectElement and use it in nsPluginInstanceOwner. r=jimm
2015-04-04 12:39:36 -06:00
David Parks
3fe715e93a
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-04-01 12:36:41 -07:00
Bill McCloskey
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Timothy Nikkel
d6eff64aa4
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Bill McCloskey
f2d972e4f2
Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz)
2015-03-26 14:17:29 -07:00
Aaron Klotz
23fec2f904
Bug 1128064: Check for null mContent in nsPluginInstanceOwner::GetDocument; r=jimm
...
--HG--
extra : rebase_source : 0687888735ab5065c927c16f8b18a1b100a632ab
2015-03-16 15:11:13 -06:00
Botond Ballo
2eb9751320
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
...
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Aaron Klotz
30dc911b8c
Bug 1135491: Part 1 - Add functions to notify plugin when a plugin destroy will be deferred; r=jimm
...
--HG--
extra : rebase_source : 20024e084d3a1c60c3ae14934ea46310c288949e
2015-02-27 12:59:07 -07:00
Botond Ballo
cda50e28d3
Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
...
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Wes Kocher
01e006a903
Merge inbound to m-c a=merge CLOSED TREE
2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04
Backed out 7 changesets (bug 1075670) for causing bug 1139010.
...
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)
CLOSED TREE
2015-03-03 18:44:56 -05:00
David Parks
8bb33e6cbc
Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
...
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Ryan VanderMeulen
ec8d7510c3
Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
...
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)
CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks
0bb693520e
Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
...
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Steven Michaud
68e8327d5b
Bug 1110888
- Always do plugin IME in main process, even with e10s. r=masayuki,smaug
2015-02-20 10:37:02 -06:00
Gabriele Svelto
fafc282f1a
Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats
2015-02-17 10:39:35 -05:00
Andrea Marchesini
ce77626266
Bug 1134280 - Get rid of Tag() - patch 2.10 - dom/events, dom/mathml, dom/plugins, dom/smil - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
David Parks
3be0c38f3a
Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position r=josh
2015-02-04 04:17:15 -08: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
6ce384ea6b
Bug 1129575 - In the PPluginWidget Create handler fail via return result vs. abort the child process when there's no parent window available. r=roc
2015-02-05 15:48:44 -06:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
James Willcox
f7e81fc366
Bug 1116469 - Correctly orient Android Flash video surfaces r=gcp
2015-02-02 15:25:22 -06:00
Phil Ringnalda
7b3840d642
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
7d34edce07
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
John Schoenick
73b9b08920
Bug 1061967 part 1 - Move checking for special-cased plugin types to a central spot. r=bsmedberg
2015-01-30 10:54:19 -05:00
Bill McCloskey
60707d7dcf
Back out 94a2a4a7c84c (bug 1075670) for breaking context menu in e10s CLOSED TREE
2015-01-28 16:12:36 -08:00
David Parks
0116f36abe
Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset report proper screen coords. r=josh
...
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-01-26 15:17:58 -08:00
Jim Mathies
0dd5439fbf
Bug 1092121 - Get plugin quirks modes and nsPluginInstanceOwner::GetNetscapeWindow working with remote content. r=billm
2015-01-23 04:10:52 -06:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Aaron Klotz
b0f6244ad7
Bug 998863: Asynchronous Plugin Initialization, Part 2: dom/plugins/base changes; r=johns,josh
2014-12-29 16:12:40 -07:00
Phil Ringnalda
0c888c27eb
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
15edf3ffa5
Bug 998863: Asynchronous Plugin Initialization, Part 2: dom/plugins/base changes; r=johns,josh
2014-12-24 17:55:58 -07:00
Josh Aas
f9e3926e19
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Karl Tomlinson
ed15675b8b
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Jim Mathies
6f6e8ef4e9
Bug 669200 - Various changes to non-ipc related plugin code to facilitate remoting windowed plugin widgets in content. r=roc
2014-11-12 14:59:20 -06:00
James Willcox
a8cc145afb
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Robert O'Callahan
3a81f050e7
Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg
2014-09-24 16:35:00 -04:00
Wes Kocher
36939bc3c8
Backed out 9 changesets (bug 1014614
) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614
)
Backed out changeset 8fbc3c85adfc (bug 1014614
)
Backed out changeset 40dbd7c6ce65 (bug 1014614
)
Backed out changeset f2b504bdd7c5 (bug 1014614
)
Backed out changeset c878e29fbef9 (bug 1014614
)
Backed out changeset 511dcc817f5d (bug 1014614
)
Backed out changeset 2b72e71f1fdf (bug 1014614
)
Backed out changeset 8b530a9a2f99 (bug 1014614
)
Backed out changeset 7fa1b78de684 (bug 1014614
)
2014-10-17 16:34:01 -07:00
James Willcox
9450484c06
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Arnaud Sourioux
5bca523013
Bug 1038570 - Part 3: rename ObjectFrame variables to PluginFrame. r=dbaron
2014-09-24 06:35:00 +02:00
Arnaud Sourioux
54b32a98a0
Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron
2014-09-24 06:34:00 +02:00
Arnaud Sourioux
4f1c6d56a0
Bug 1038570 - Part 1: rename nsObjectFrame.* to nsPluginFrame.*, changes moz.build and includes. r=dbaron
...
--HG--
rename : layout/generic/nsObjectFrame.cpp => layout/generic/nsPluginFrame.cpp
rename : layout/generic/nsObjectFrame.h => layout/generic/nsPluginFrame.h
2014-09-24 06:33:00 +02:00
Jeff Gilbert
301271b198
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
...
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
James Willcox
688cd17359
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Jonathan Watt
93e59c8bd5
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Ehsan Akhgari
1b1d6ffebf
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Robert O'Callahan
2489dc1f01
Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
...
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Catalin Badea
53911e168c
Bug 853995 - Move plugin parameters array from nsPluginInstanceOwner to content. r=johns,jst
2014-08-15 14:24:40 -07:00
Morris Tseng
e805832aca
Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc
2014-08-04 00:26:00 -04:00
Masayuki Nakano
eaf5518352
Bug 1046101 part.13 Rename NS_MOUSE_SCROLL_EVENT to eMouseScrollEventClass r=smaug
2014-08-04 14:28:51 +09:00
Masayuki Nakano
5a96c29b49
Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug
2014-08-04 14:28:50 +09:00
Masayuki Nakano
aaf3fac323
Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug
2014-08-04 14:28:48 +09:00
Masayuki Nakano
00f048e7cd
Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug
2014-08-04 14:28:46 +09:00
Benoit Jacob
db65b34b46
Bug 586656 - Serialize external "pluginEvent" structs in WidgetGUIEvent so that plugin events work in e10s - r=masayuki,jimm
2014-07-23 15:55:51 -04:00
Jeff Gilbert
79cfeb958c
Bug 1037147 - Purge EOL whitespace again. - r=mattwoodrow
2014-07-11 15:41:41 -07:00
Jonathan Watt
e8bd2a53a8
Bug 1029211 - Get rid of a couple more Thebes backed gfxContexts by using gfxUtils::ClearThebesSurface instead. r=mattwoodrow
...
--HG--
extra : rebase_source : cc75965e0ba908b84a592e337af0429ddb9cc846
2014-06-24 10:02:10 +01:00
Benoit Jacob
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Emilio Pozuelo Monfort
5f055ea8d8
Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
...
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00