void Create(int width, int height, const std::string& locale, const std::string& timezoneId);
/**
+ * @brief Creates WebEngine instance.
+ *
+ * @param [in] width The width of Web
+ * @param [in] height The height of Web
+ * @param [in] argc The count of application arguments
+ * @param [in] argv The string array of application arguments
+ */
+ void Create( int width, int height, int argc, char** argv );
+
+ /**
* @brief Destroys WebEngine instance.
*/
void Destroy();
void LoadUrl(const std::string& url);
/**
+ * @brief Returns the title of the Web.
+ *
+ * @return The title of web page
+ */
+ std::string GetTitle() const;
+
+ /**
+ * @brief Returns the Favicon of the Web.
+ *
+ * @return FavIcon of Dali::PixelData& type
+ */
+ Dali::PixelData GetFavicon() const;
+
+ /**
* @brief Gets the url.
*/
const std::string& GetUrl();
/**
* @brief Gets the current scroll position of the given view.
*/
- void GetScrollPosition( int& x, int& y ) const;
+ Dali::Vector2 GetScrollPosition() const;
/**
* @brief Gets the possible scroll size of the given view.
*/
- void GetScrollSize( int& width, int& height ) const;
+ Dali::Vector2 GetScrollSize() const;
/**
* @brief Gets the last known content's size.
*/
- void GetContentSize( int& width, int& height ) const;
+ Dali::Vector2 GetContentSize() const;
/**
* @brief Returns whether forward is possible.
void AddJavaScriptMessageHandler(const std::string& exposedObjectName, std::function<void(const std::string&)> handler);
/**
+ * @brief Clears all tiles resources of Web.
+ */
+ void ClearAllTilesResources();
+
+ /**
* @brief Clears the history of Web.
*/
void ClearHistory();
/**
* @brief Set focus.
+ * @param[in] focused True if web view is focused, false otherwise
*/
void SetFocus( bool focused );
/**
+ * @brief Update display area.
+ * @param[in] displayArea The area to display web page.
+ */
+ void UpdateDisplayArea( Dali::Rect< int > displayArea );
+
+ /**
+ * @brief Enable video hole.
+ * @param[in] enabled True if video hole is enabled, false otherwise
+ */
+ void EnableVideoHole( bool enabled );
+
+ /**
* @brief Connects to this signal to be notified when page loading is started.
*
* @return A signal object to connect with.