Home | History | Annotate | Download | only in Hosted

Lines Matching defs:Reply

174     // Reply structs
175 struct Reply {
183 Reply(Type type)
188 virtual ~Reply() { }
193 struct InstantiatePluginReply : public Reply {
197 : Reply(InstantiatePlugin)
209 struct GetScriptableNPObjectReply : public Reply {
210 static const Reply::Type ReplyType = GetScriptableNPObject;
213 : Reply(ReplyType)
221 struct BooleanReply : public Reply {
222 static const Reply::Type ReplyType = Boolean;
225 : Reply(ReplyType)
233 struct BooleanAndDataReply : public Reply {
234 static const Reply::Type ReplyType = BooleanAndData;
237 : Reply(ReplyType)
247 void setCurrentReply(uint32_t requestID, Reply* reply)
250 m_replies.set(requestID, reply);
256 RefPtr<NetscapePluginInstanceProxy> protect(this); // Plug-in host may crash while we are waiting for reply, releasing all instances to the instance proxy.
261 Reply* reply = processRequestsAndWaitForReply(requestID);
262 if (reply)
263 ASSERT(reply->m_type == T::ReplyType);
270 // The instance proxy may have been deleted from didCallPluginFunction(), so a null reply needs to be returned.
271 delete static_cast<T*>(reply);
275 return std::auto_ptr<T>(static_cast<T*>(reply));
290 Reply* processRequestsAndWaitForReply(uint32_t requestID);
308 HashMap<uint32_t, Reply*> m_replies;