X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fweb-view%2Fweb-settings.h;h=de428338c6f7212148aab45bd7f06226e1e07665;hb=679d8feda43ee31cf28d7504a76a5d0834dfab29;hp=ba8b1fa2fc785373e345268be05523d1e18dae34;hpb=b0115c8f21708cab60e853767d353e35c8b59ebd;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/web-view/web-settings.h b/dali-toolkit/devel-api/controls/web-view/web-settings.h index ba8b1fa..de42833 100755 --- a/dali-toolkit/devel-api/controls/web-view/web-settings.h +++ b/dali-toolkit/devel-api/controls/web-view/web-settings.h @@ -344,6 +344,69 @@ public: */ void SetDefaultTextEncodingName(const std::string& defaultTextEncodingName); + /** + * @brief Enables/disables the viewport meta tag. + * + * By default, the viewport meta tag is enabled on mobile and wearable, + * but it is disabled on TV. + * + * @param[in] enable @c true to enable the viewport meta tag + * @c false to disable + * + * @return @c true on success or @c false on failure + */ + bool SetViewportMetaTag(bool enable); + + /** + * @brief Requests setting of force zoom. + * + * @param[in] enable to force zoom + * + * @return @c true on success or @c false on failure + */ + bool SetForceZoom(bool enable); + + /** + * @brief Returns the force zoom status. + * + * @return @c true if enable force zoom or @c false. + */ + bool IsZoomForced() const; + + /** + * @brief Requests setting use of text zoom. + * + * @param[in] enable to text zoom. + * + * @return @c true on success or @c false on failure + */ + bool SetTextZoomEnabled(bool enable); + + /** + * @brief Returns whether text zoom is enabled or not. + * + * @return @c true if enable text zoom or @c false. + */ + bool IsTextZoomEnabled() const; + + /** + * @brief Requests enables/disables to the specific extra feature + * + * @param[in] feature feature name + * @param[in] enable @c true to enable the specific extra feature + * @c false to disable + */ + void SetExtraFeature(const std::string& feature, bool enable); + + /** + * @brief Returns enable/disable to the specific extra feature + * + * @param[in] feature feature name + * + * @return @c true on enable or @c false on disable + */ + bool IsExtraFeatureEnabled(const std::string& feature) const; + private: Dali::WebEngineSettings& mWebEngineSettings; };