Commit Graph

153 Commits

Author SHA1 Message Date
Bob Owen
627c6d861d Bug 1185529: On Windows, ensure that NPAPI child window has the correct parent before setwindow is called. r=jimm 2015-08-07 08:48:16 +01:00
Ehsan Akhgari
586ea8dd85 Bug 1167690 - Part 3: Hook up NPNVmuteAudioBool to the plugin process; r=josh 2015-07-29 08:26:44 -04:00
Benoit Girard
597fda6c6e Bug 1167690 - Part 1: Hook up NPPVpluginIsPlayingAudio to the plugin process; r=josh 2015-07-29 08:26:40 -04:00
Birunthan Mohanathas
a29151dc87 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
Robert O'Callahan
e436ca0770 Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical 2015-07-03 22:13:48 +12:00
Robert O'Callahan
fd1108d2e0 Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical 2015-07-07 09:58:18 +12:00
Robert O'Callahan
6a308ac09c Bug 1143575. Convert SetCurrentImage(nullptr) callers to call ClearAllImages instead. r=nical 2015-03-26 11:40:36 +13:00
Robert O'Callahan
d085fde4ce Bug 1143575. Remove unused CompositionNotifySink. r=nical 2015-03-22 01:02:25 +13:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Bob Owen
0c8fa845b6 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
Ted Mielczarek
fbe051c955 bug 1171131 - Make dom/plugins/ipc build for iOS. r=jimm 2015-06-12 08:46:43 -04:00
Eric Rahm
900b3ebc4d Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Carsten "Tomcat" Book
89becff57d Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Eric Rahm
f5003d5120 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
2a7ed059f1 Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
0baf91e33f Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
5b59cf4e0b Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Aaron Klotz
a01b04f99f Bug 1155503: BrowserStreamParent should null out its NPStream pointer and we should check for it; r=jimm 2015-04-20 17:04:33 -06:00
Aaron Klotz
57e82f877e Bug 1149358: Ensure that plugin streams are not manipulated by PluginAsyncSurrogate if plugin destruction is imminent; r=jimm 2015-04-01 16:53:47 -06:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Nicolas Silva
13344864c0 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Aaron Klotz
a1f8cae302 Bug 1119565: Ensure that a plugin listener's stream type is always set, even when it is STREAM_TYPE_UNKNOWN; r=jimm 2015-03-23 21:46:38 -06:00
Aaron Klotz
17f21295f6 Bug 1128768: Part 5 - Update plugin code to retrieve SWF file for hang annotations; r=jimm 2015-02-25 17:38:09 -07:00
Aaron Klotz
fba365c8b0 Bug 1127888: Fix causes of async plugin init hangs; r=jimm 2015-02-21 23:07:24 -07:00
Jim Mathies
500a3d1f2e Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Jim Mathies
93665e0554 Bug 1095754 - In the content process provide a way to track and access PluginInstanceParent objects from PluginWidgetChild. r=aklotz 2015-01-29 13:41:53 -06:00
Ehsan Akhgari
84074def6c Bug 1117772 - Return false from PluginInstanceParent::CreateBackground; r=baku
clang emits the following warning on this code, which is treated as an
error:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-05 11:33:10 -05:00
Aaron Klotz
6aec3f6cd5 Bug 998863: Asynchronous Plugin Initialization, Part 10: PluginInstanceParent changes; r=jimm 2014-12-29 16:14:03 -07:00
Aaron Klotz
bd4d5cafe9 Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-29 16:13:54 -07:00
Phil Ringnalda
4227fff1a3 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
2a350d2d9d Bug 998863: Asynchronous Plugin Initialization, Part 10: PluginInstanceParent changes; r=jimm 2014-12-24 17:57:12 -07:00
Aaron Klotz
681dbfd72f Bug 998863: Asynchronous Plugin Initialization, Part 9: PluginModuleParent changes; r=jimm 2014-12-24 17:57:03 -07:00
Aaron Klotz
fa5a9e12ba Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan (Relanding because I meant to back out a different commit for bustage, not this) CLOSED TREE 2014-12-11 14:00:47 -07:00
Wes Kocher
585e114d54 Backed out changeset 62a9e591e57d (bug 1070755) for mochitest-11 bustage on a CLOSED TREE 2014-12-11 14:53:01 -08:00
Aaron Klotz
1fcab019db Bug 1070755: Telemetry to track total time that the main thread is blocked during plugin initialization; r=vladan 2014-12-11 14:00:47 -07:00
Jim Mathies
8efcfcc825 Bug 669200 - Disable PluginInstanceParent's subclass on the chrome plugin window since we cannot set subclasses on chrome windows in the content process. r=aklotz 2014-11-12 14:59:22 -06:00
Bill McCloskey
7061e6eaa0 Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Robert O'Callahan
864665b3b1 Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg 2014-09-24 16:35:00 -04:00
Arnaud Sourioux
13efd81178 Bug 1038570 - Part 2: rename ObjectFrame class to PluginFrame. r=dbaron 2014-09-24 06:34:00 +02:00
Jeff Gilbert
4943991010 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp 2014-09-17 08:13:29 -05:00
James Willcox
e07d73a455 Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
63c2e0ad7f Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Ehsan Akhgari
99fed18e00 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
Jeff Gilbert
7b1cfc7c6d Bug 1037147 - Purge EOL whitespace. - r=mattwoodrow 2014-07-11 13:50:23 -07:00
Josh Aas
0bfbc258e7 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00