| Index: content/ppapi_plugin/ppapi_thread.h
|
| ===================================================================
|
| --- content/ppapi_plugin/ppapi_thread.h (revision 84713)
|
| +++ content/ppapi_plugin/ppapi_thread.h (working copy)
|
| @@ -17,6 +17,7 @@
|
| #include "ppapi/c/trusted/ppp_broker.h"
|
|
|
| class FilePath;
|
| +class PpapiWebKitThread;
|
|
|
| namespace IPC {
|
| struct ChannelHandle;
|
| @@ -36,6 +37,9 @@
|
| virtual base::MessageLoopProxy* GetIPCMessageLoop();
|
| virtual base::WaitableEvent* GetShutdownEvent();
|
| virtual std::set<PP_Instance>* GetGloballySeenInstanceIDSet();
|
| + virtual pp::shared_impl::WebKitForwarding* GetWebKitForwarding();
|
| + virtual void PostToWebKitThread(const tracked_objects::Location& from_here,
|
| + const base::Closure& task);
|
|
|
| // Message handlers.
|
| void OnMsgLoadPlugin(const FilePath& path);
|
| @@ -70,6 +74,11 @@
|
| // See Dispatcher::Delegate::GetGloballySeenInstanceIDSet.
|
| std::set<PP_Instance> globally_seen_instance_ids_;
|
|
|
| + // Lazily created by GetWebKitForwarding.
|
| + scoped_ptr<pp::shared_impl::WebKitForwarding> webkit_forwarding_;
|
| +
|
| + scoped_ptr<PpapiWebKitThread> webkit_thread_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread);
|
| };
|
|
|
|
|