27 #ifndef NATIVE_PLAYER_INC_PLAYER_PLAYER_PROVIDER_H_ 28 #define NATIVE_PLAYER_INC_PLAYER_PLAYER_PROVIDER_H_ 32 #include "nacl_player/common.h" 33 #include "ppapi/cpp/instance.h" 82 std::shared_ptr<Communication::MessageSender> message_sender)
83 : instance_(instance), message_sender_((std::move(message_sender))) {}
107 const std::string& url,
108 const Samsung::NaClPlayer::Rect view_rect,
109 const std::string& subtitle = {},
110 const std::string& encoding = {});
113 pp::InstanceHandle instance_;
114 std::shared_ptr<Communication::MessageSender> message_sender_;
117 #endif // NATIVE_PLAYER_INC_PLAYER_PLAYER_PROVIDER_H_ This file defines the PlayerController class.
PlayerProvider(const pp::InstanceHandle &instance, std::shared_ptr< Communication::MessageSender > message_sender)
This value is not related to any player type.
std::shared_ptr< PlayerController > CreatePlayer(PlayerType type, const std::string &url, const Samsung::NaClPlayer::Rect view_rect, const std::string &subtitle={}, const std::string &encoding={})
This file defines a MessageSender class.
A factory of PlayerController objects.