[M120 Migration][VD] Support EWK Scroll API for TV WebBrowser
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / common / render_messages_ewk.h
index ca3ed44..f02f6a1 100644 (file)
@@ -21,6 +21,9 @@
 #include "public/ewk_view_internal.h"
 #include "third_party/blink/public/web/web_navigation_policy.h"
 #include "third_party/blink/public/web/web_navigation_type.h"
+#if BUILDFLAG(IS_TIZEN_TV)
+#include "cc/input/scrollbar.h"
+#endif
 
 typedef std::map<std::string, std::string> StringMap;
 typedef std::map<std::string, bool> ExtensibleApiMap;
@@ -46,7 +49,9 @@ IPC_STRUCT_TRAITS_END()
 
 IPC_STRUCT_TRAITS_BEGIN(Hit_Test_Params::Image_Data)
   IPC_STRUCT_TRAITS_MEMBER(fileNameExtension)
+#if !defined(EWK_BRINGUP)  // FIXME: m120 bringup
   IPC_STRUCT_TRAITS_MEMBER(imageBitmap)
+#endif
 IPC_STRUCT_TRAITS_END()
 
 IPC_STRUCT_TRAITS_BEGIN(Hit_Test_Params)
@@ -80,7 +85,9 @@ IPC_STRUCT_TRAITS_BEGIN(NavigationPolicyParams)
   IPC_STRUCT_TRAITS_MEMBER(cookie)
   IPC_STRUCT_TRAITS_MEMBER(url)
   IPC_STRUCT_TRAITS_MEMBER(httpMethod)
+#if !defined(EWK_BRINGUP)  // FIXME: m120 bringup
   IPC_STRUCT_TRAITS_MEMBER(referrer)
+#endif
   IPC_STRUCT_TRAITS_MEMBER(policy)
   IPC_STRUCT_TRAITS_MEMBER(type)
   IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
@@ -147,8 +154,6 @@ IPC_MESSAGE_ROUTED4(EwkViewMsg_DoHitTestAsync,
 // Tells the renderer to clear the cache.
 IPC_MESSAGE_ROUTED0(EwkViewMsg_UseSettingsFont)
 IPC_MESSAGE_ROUTED0(EwkViewMsg_SetBrowserFont)
-IPC_MESSAGE_ROUTED0(EwkViewMsg_SuspendScheduledTask)
-IPC_MESSAGE_ROUTED0(EwkViewMsg_ResumeScheduledTasks)
 
 IPC_MESSAGE_ROUTED2(EwkViewMsg_SetScroll,
                     int, /* horizontal position */
@@ -221,6 +226,15 @@ IPC_MESSAGE_ROUTED2(EwkHostMsg_WebAppCapableGet,
 IPC_MESSAGE_ROUTED1(EwkViewMsg_SetVideoHole, bool /* Enable */)
 #endif
 
+#if BUILDFLAG(IS_TIZEN_TV)
+IPC_MESSAGE_ROUTED0(EwkHostMsg_RunArrowScroll);
+
+IPC_ENUM_TRAITS(cc::ScrollbarOrientation)
+IPC_MESSAGE_ROUTED2(EwkHostMsg_ScrollbarThumbPartFocusChanged,
+                    cc::ScrollbarOrientation, /* orientation */
+                    bool /* focused */)
+#endif
+
 IPC_SYNC_MESSAGE_CONTROL1_1(EwkHostMsg_DecideNavigationPolicy,
                             NavigationPolicyParams,
                             bool /*handled*/)
@@ -262,4 +276,10 @@ IPC_MESSAGE_CONTROL1(HbbtvMsg_RegisterURLSchemesAsCORSEnabled,
                      std::string /* scheme */)
 
 IPC_MESSAGE_CONTROL1(EwkViewMsg_SetTimeOffset, double /* time offset */)
+// Sent when the renderer was prevented from displaying insecure content in
+// a secure page by a security policy.  The page may appear incomplete.
+IPC_MESSAGE_ROUTED0(EwkHostMsg_DidBlockInsecureContent)
+
+// Sent in response to FrameHostMsg_DidBlockDisplayingInsecureContent.
+IPC_MESSAGE_ROUTED1(EwkMsg_SetAllowInsecureContent, bool /* allowed */)
 #endif