Lines Matching defs:MessageChannel
66 // MessageChannel --------------------------------------------------------------
67 struct MessageChannel::VarConversionResult {
86 gin::WrapperInfo MessageChannel::kWrapperInfo = {gin::kEmbedderNativeGin};
89 MessageChannel* MessageChannel::Create(PepperPluginInstanceImpl* instance,
91 MessageChannel* message_channel = new MessageChannel(instance);
94 gin::Handle<MessageChannel> handle =
100 MessageChannel::~MessageChannel() {
108 void MessageChannel::InstanceDeleted() {
113 void MessageChannel::PostMessageToJavaScript(PP_Var message_data) {
150 void MessageChannel::Start() {
171 void MessageChannel::SetPassthroughObject(v8::Handle<v8::Object> passthrough) {
175 void MessageChannel::SetReadOnlyProperty(PP_Var key, PP_Var value) {
184 MessageChannel::MessageChannel(PepperPluginInstanceImpl* instance)
193 gin::ObjectTemplateBuilder MessageChannel::GetObjectTemplateBuilder(
195 return Wrappable<MessageChannel>::GetObjectTemplateBuilder(isolate)
199 void MessageChannel::BeginBlockOnSyncMessage() {
204 void MessageChannel::EndBlockOnSyncMessage() {
211 v8::Local<v8::Value> MessageChannel::GetNamedProperty(
221 base::Bind(&MessageChannel::PostMessageToNative,
225 base::Bind(&MessageChannel::PostBlockingMessageToNative,
244 bool MessageChannel::SetNamedProperty(v8::Isolate* isolate,
267 std::vector<std::string> MessageChannel::EnumerateNamedProperties(
278 void MessageChannel::PostMessageToNative(gin::Arguments* args) {
296 void MessageChannel::PostBlockingMessageToNative(gin::Arguments* args) {
356 void MessageChannel::PostMessageToJavaScriptImpl(
387 PluginObject* MessageChannel::GetPluginObject(v8::Isolate* isolate) {
392 void MessageChannel::EnqueuePluginMessage(v8::Handle<v8::Value> v8_value) {
404 base::Bind(&MessageChannel::FromV8ValueComplete,
414 void MessageChannel::FromV8ValueComplete(VarConversionResult* result_holder,
423 void MessageChannel::DrainCompletedPluginMessages() {
443 void MessageChannel::DrainJSMessageQueue() {
451 // corresponding MessageChannel.
460 void MessageChannel::DrainJSMessageQueueSoon() {
463 base::Bind(&MessageChannel::DrainJSMessageQueue,
467 void MessageChannel::UnregisterSyncMessageStatusObserver() {