[M108 Aura Migration] Add media playback ewk api
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_view_product.h
index cd9ceae..6afdf45 100644 (file)
@@ -34,6 +34,7 @@
 #define ewk_view_product_h
 
 #include "ewk_context_product.h"
+#include "ewk_media_playback_info_product.h"
 #include "ewk_value_product.h"
 #include "ewk_view_internal.h"
 
@@ -628,7 +629,10 @@ EXPORT_API Eina_Bool ewk_view_stop_video(Evas_Object* o, Ewk_Stop_Video_Callback
  *
  * @return return @c EINA_TRUE on success or @c EINA_FALSE on failure
  */
-EXPORT_API Eina_Bool ewk_view_set_support_video_hole(Evas_Object* ewkView, Evas_Object* window, Eina_Bool enable, Eina_Bool isVideoWindow);
+EXPORT_API Eina_Bool ewk_view_set_support_video_hole(Evas_Object* ewkView,
+                                                     void* window,
+                                                     Eina_Bool enable,
+                                                     Eina_Bool isVideoWindow);
 
 /**
  * @brief Sets the support of canvas hole, Use H/W overlay for video quality of WebGL 360 degree.
@@ -789,6 +793,15 @@ EXPORT_API Eina_Bool ewk_view_key_system_whitelist_set(Evas_Object* ewkView,
 EXPORT_API Eina_Bool ewk_view_active_drm_set(Evas_Object* view, const char* drm_system_id);
 
 /**
+ * Inform webengine about decoder used by broadcast for dual decoding.
+ *
+ * @param view View object
+ * @param decoder Identifier of used decoder
+ */
+EXPORT_API void ewk_view_broadcast_decoder_set(Evas_Object* view,
+  Ewk_Hardware_Decoders decoder);
+
+/**
 * Set the selected text track language to media player.
 *
 * @param ewkView view object