double scaleRatioBeforeRotation = m_scaleFactor / m_viewportConstraints.minimumScale;
m_viewportConstraints = computeViewportConstraints(attributes);
-#if ENABLE(TIZEN_GESTURE)
- bool doubleTapEnabled = userScalable();
-#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
- doubleTapEnabled |= ewk_settings_select_word_automatically_get(ewk_view_settings_get(m_viewImpl->view()));
-#endif
- m_viewImpl->setDoubleTapEnabled(doubleTapEnabled);
-#endif
-
// Initially, m_scaleFactor is not decided yet.
// So, we should update visible content rect at here.
if (!m_scaleFactor) {
}
#if ENABLE(TIZEN_GESTURE)
- m_viewImpl->setDoubleTapEnabled(userScalable());
+ bool doubleTapEnabled = userScalable();
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+ doubleTapEnabled |= ewk_settings_select_word_automatically_get(ewk_view_settings_get(m_viewImpl->view()));
+#endif
+ m_viewImpl->setDoubleTapEnabled(doubleTapEnabled);
#endif
#if ENABLE(TIZEN_DLOG_SUPPORT)
}
const EditorState& editorState = m_viewImpl->page()->editorState();
- if (!isTextSelectionMode() && !editorState.selectionIsRange && editorState.isContentEditable) {
+ if (!editorState.selectionIsRange && editorState.isContentEditable) {
setIsTextSelectionMode(false);
return;
}
m_lastLeftHandleRect = leftRect;
m_lastRightHandleRect = rightRect;
+ } else {
+ if (m_showTimer) {
+ ecore_timer_del(m_showTimer);
+ m_showTimer = 0;
+ }
}
}