[M120 Migration]URL of _Ewk_Error set wrong
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / eweb_view.h
index bd41e79..08fc8e7 100644 (file)
@@ -575,10 +575,9 @@ class EWebView {
 
   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);
@@ -806,7 +805,24 @@ class EWebView {
                                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 =
@@ -1026,6 +1042,7 @@ class EWebView {
     kPlaybackFinish,
     kPlaybackStop,
   };
+  double current_time_ = 0.0;
 #endif
 
   std::unique_ptr<_Ewk_Back_Forward_List> back_forward_list_;