int player_id,
const char* url,
const char* mime_type);
+ void SuspendNetworkLoading();
+ void ResumeNetworkLoading();
#endif // IS_TIZEN_TV
void SetSessionTimeout(uint64_t timeout);
double GetTextZoomFactor() const;
void SetViewLoadErrorPageCallback(Ewk_View_Error_Page_Load_Callback callback,
void* user_data);
- const char* InvokeViewLoadErrorPageCallback(
- const GURL& url,
- int error_code,
- const std::string& error_description);
+ const char* InvokeViewLoadErrorPageCallback(const GURL& url,
+ int error_code,
+ bool is_cancellation);
bool IsLoadErrorPageCallbackSet() const;
void SetViewUnfocusAllowCallback(Ewk_View_Unfocus_Allow_Callback callback,
void* user_data);
uint32_t current);
void SetHighBitRate(Eina_Bool is_high_bitrate);
bool IsHighBitRate() const { return is_high_bitrate_; }
-
+ void NotifyFirstTimeStamp(unsigned long long timestamp,
+ int time_base_num,
+ int time_base_den);
+ void NotifyPESData(const std::string& buf,
+ unsigned int len,
+ int media_position);
+ void SetPreferSubtitleLang(const char* lang_list);
+ void NotifySubtitleState(int state, double time_stamp);
+ void NotifySubtitlePlay(int active_track_id,
+ const char* url,
+ const char* lang);
+ void NotifySubtitleData(int track_id,
+ double time_stamp,
+ const std::string& data,
+ unsigned int size);
+ void UpdateCurrentTime(double current_time);
+ void UpdateEventData(void* data);
+ double GetCurrentTime() { return current_time_; }
void GetMediaDeviceList(Ewk_Media_Device_List_Get_Callback callback,
void* userData);
using MediaDeviceEnumeration =
kPlaybackFinish,
kPlaybackStop,
};
+ double current_time_ = 0.0;
#endif
std::unique_ptr<_Ewk_Back_Forward_List> back_forward_list_;