Chromium Code Reviews
DescriptionPPAPI: Refactor MessageChannel to prep for sync postMessage
1) Remove unused CopyPPVar function from MessageChannel
2) Remove mostly-duplicate NPVariantToPPVar from MessageChannel.
3) Separate V8VarConverter::FromV8Value implementation from calling the callback (so I can have a sync path later, and this is shorter anyway).
4) Simplify NaCl in-process to out-of-process transition. Now, we just queue stuff for in-process (nobody but NaCl uses Messaging in-process), and if/when we switch to out-of-process (handing off to a NaCl app) we drain the queues then.
5) Some other renames/tweaks to how MessageChannel queues pending conversions.
BUG=367896
R=raymes@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272583
Patch Set 1 #Patch Set 2 : queue plugin messgaes #Patch Set 3 : more cleanup #Patch Set 4 : a little more cleanup #
Total comments: 12
Patch Set 5 : review fixes #Patch Set 6 : Fix in-process. Make Chrome tell content when a plugin is a host for external plugins (i.e., NaCl) #
Total comments: 6
Patch Set 7 : Move NaCl hook to components/nacl/renderer #
Total comments: 2
Patch Set 8 : move NaClHelper in to nacl namespace #Messages
Total messages: 17 (0 generated)
|