#include <dpl/wrt-dao-ro/plugin_dao_read_only.h>
#include <js_overlay_types.h>
#include <js_types.h>
-#include <Commons/Deprecated.h>
+#include <dpl/availability.h>
+#include <dpl/wrt-dao-ro/wrt_db_types.h>
using namespace WrtPlugins::W3C;
{
public:
// Widget session
- void initSession(int widgetHandle);
- void startSession(int widgetHandle,
+ void initSession(WidgetHandle widgetHandle);
+ void startSession(WidgetHandle widgetHandle,
JSGlobalContextRef view,
double scaleFactor,
const char* encodedBundle,
JavaScriptObject& parentObject,
JSGlobalContextRef context);
- WRT_PLUGINS_DEPRECATED void loadPluginsIntoIframes(
- JSGlobalContextRef context);
+ DPL_DEPRECATED void loadPluginsIntoIframes(JSGlobalContextRef context);
void loadFrame(JSGlobalContextRef context);
void unloadFrame(JSGlobalContextRef context);
// reset custom window properties. (Tizen requirements)
- WRT_PLUGINS_DEPRECATED void setCustomProperties(double scaleFactor,
+ DPL_DEPRECATED void setCustomProperties(double scaleFactor,
const char* encodedBundle,
const char* theme);
const char* encodedBundle,
const char* theme);
- WRT_PLUGINS_DEPRECATED void dispatchJavaScriptEvent(
- CustomEventType eventType);
+ DPL_DEPRECATED void dispatchJavaScriptEvent(CustomEventType eventType);
void dispatchJavaScriptEvent(JSGlobalContextRef ctx,
CustomEventType eventType,