Implemented ZoomUI service
[profile/tv/apps/web/browser.git] / services / WebKitEngineService / WebView.h
index 1672438..224e657 100644 (file)
@@ -43,7 +43,6 @@ public:
     virtual ~WebView();
     void init(bool desktopMode, Evas_Object * opener = NULL);
 
-
     void setURI(const std::string &);
     std::string getURI(void);
 
@@ -131,6 +130,17 @@ public:
      */
     std::shared_ptr<tizen_browser::tools::BrowserImage> getFavicon();
 
+    /**
+     * Sets an absolute scroll of the given view.
+     *
+     * Both values are from zero to the contents size minus the viewport
+     * size.
+     *
+     * @param x horizontal position to scroll
+     * @param y vertical position to scroll
+     */
+    void scrollView(const int& dx, const int& dy);
+
 // signals
     boost::signals2::signal<void (std::shared_ptr<tizen_browser::tools::BrowserImage>)> favIconChanged;
     boost::signals2::signal<void (const std::string &)> titleChanged;