Lines Matching defs:MessageChannel
37 // MessageChannel implements bidirectional postMessage functionality, allowing
42 // Currently, only 1 MessageChannel can exist, to implement postMessage
50 class MessageChannel :
51 public gin::Wrappable<MessageChannel>,
57 // Creates a MessageChannel, returning a pointer to it and sets |result| to
60 static MessageChannel* Create(PepperPluginInstanceImpl* instance,
63 virtual ~MessageChannel();
65 // Called when the instance is deleted. The MessageChannel might outlive the
74 // to send and handle messages, users of MessageChannel should call
92 explicit MessageChannel(PepperPluginInstanceImpl* instance);
189 base::WeakPtrFactory<MessageChannel> weak_ptr_factory_;
191 DISALLOW_COPY_AND_ASSIGN(MessageChannel);