Commit Graph

44 Commits

Author SHA1 Message Date
James Willcox
998cd74d67 Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg
MozReview-Commit-ID: AcAIC1QQew2
2017-07-31 12:25:16 -05:00
Nicholas Nethercote
1a15a0b18a Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/{base,ipc,plugins}. r=mccr8. 2017-07-21 10:52:30 +10:00
Sylvestre Ledru
9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Benjamin Smedberg
89b6f2227c Bug 1342141 part B - Use NP_EMBED as the mode for all plugins, whether they are full-page or not, r=jimm
MozReview-Commit-ID: BeB24ux8TEp
2017-02-23 12:37:42 -05:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Kyle Machulis
7819d15177 Bug 820831 - Turn on ContentScaleFactor calculation on Windows; r=jimm
MozReview-Commit-ID: 5rqTURsO839
2015-09-17 13:31:34 -07:00
Bob Owen
4d92ace334 Bug 1252877 Part 4: Remove notification of plugins about scrolling from child. r=jimm
MozReview-Commit-ID: 2tHtOxx7jKa
2016-07-18 09:54:02 +01:00
Masayuki Nakano
bbce223b06 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
2016-04-19 20:09:37 +09:00
Jim Mathies
26c7ae8377 Bug 1232181 - Plugin module plumbing for retrieving scroll captures and updating plugin instance content scroll state. r=roc 2016-03-01 12:48:25 -06:00
Nicholas Nethercote
5a68f41931 Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
The only non-trivial change is in BasicPaintedLayer::Validate().
2015-12-17 19:39:10 -08:00
Nicholas Nethercote
e2e2a2fbf9 Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc. 2015-12-17 19:39:09 -08:00
Jim Chen
dfcf5a84c5 Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Brad Lassey
6f3fecc1b0 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Wes Kocher
1e193b542b Backed out changeset 9e0475a23d21 (bug 1158561) for assertions in test_clear_site_data.html CLOSED TREE 2015-07-01 16:25:26 -07:00
Brad Lassey
5f96379688 bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Ryan VanderMeulen
45d22e186e Backed out changesets 57bbe09f18f2 and 8353c823b8b5 (bug 1158561) for win32 build bustage.
CLOSED TREE
2015-07-01 12:11:41 -04:00
Brad Lassey
ffff931b1a bug 1158561 - [e10s] Browser hang in PluginModuleParent::NPP_ClearSiteData() r=jimm,mak 2015-06-30 18:08:19 -04:00
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ehsan Akhgari
860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Jim Chen
d1f525e06a Bug 959237 - Define GetVM, GetJNIEnv, and GetJNIForThread as infallible; r=blassey
Currently when either of these methods fail, we log something and rely on the calling code to null check. Since these failures are serious and likely unrecoverable, it's better to define these methods as infallible and just crash if they do fail.
2014-01-17 23:32:24 -06:00
Boris Zbarsky
4a7c178e1f Bug 909642. Don't include nsNPAPIPluginInstance in headers so much, since it pulls in lots of gunk. r=bsmedberg 2013-08-27 01:05:29 -04:00
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Jacek Caban
fecceb176c Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc 2013-03-12 11:34:07 +01:00
Kartikaya Gupta
b38d78a11f Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
Matt Joras
909b0a4093 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen
ee28986d89 Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
07b8c503c4 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Steven Michaud
881c04e390 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Ms2ger
26fa23777d Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
c4bef15a0d Bug 777796 - Remove PluginPRLibrary::mNPP_GetValue; r=josh 2012-07-26 17:54:11 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
86897d23dd Bug 724886: Push images from plugin code instead of pulling from nsObjectFrame. r=roc 2012-02-08 16:34:27 +01:00
Doug Turner
2abf72a957 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
Michael Wu
21ff4d9ef1 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Josh Aas
bbe816bfa8 Bug 690459: Remove usage of PR_TRUE and PR_FALSE from base plugin code. r=jst 2011-09-30 02:02:59 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Doug Turner
de45728b30 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Ed Morley
dfcf452dc7 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner
4002d1430f Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Oleg Romashin
a64450a13a Bug 672857 - Make IM work for IPC plugins in remote browser. r=karlt 2011-08-29 17:26:24 +01:00
Benoit Girard
9179915df6 Bug 663259 - Part 2: Restore Synchronous plugin rendering, with preference for async rendering. r=smichaud 2011-06-30 12:46:26 -04:00
Benoit Girard
3be0ccf424 Asynchronous layer-based plugin painting on Mac b=598425 r=roc,josh 2011-05-19 17:08:14 -04:00
Benjamin Smedberg
8f6641e796 Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh 2011-04-26 17:38:43 -04:00