28 #ifndef NATIVE_PLAYER_INC_NATIVE_PLAYER_H_ 29 #define NATIVE_PLAYER_INC_NATIVE_PLAYER_H_ 33 #include "ppapi/c/pp_rect.h" 34 #include "ppapi/cpp/instance.h" 35 #include "ppapi/cpp/module.h" 36 #include "ppapi/cpp/var_dictionary.h" 37 #include "ppapi/utility/threading/simple_thread.h" 53 :
pp::Instance(instance), player_thread_(this) {}
73 bool Init(uint32_t,
const char**,
const char**)
override;
79 std::shared_ptr<Communication::MessageReceiver> message_receiver_;
80 pp::SimpleThread player_thread_;
98 #endif // NATIVE_PLAYER_INC_NATIVE_PLAYER_H_
NativePlayerModule creation.
pp::Instance * CreateInstance(PP_Instance instance) override
This file defines MessageReceiver class.
NativePlayer(PP_Instance instance)
void HandleMessage(const pp::Var &var_message) override
bool Init(uint32_t, const char **, const char **) override
void DidChangeView(const pp::View &view) override
This file defines a MessageSender class.
This file defines PlayerProvider class.