#include "TizenLinkEffect.h"
#endif
+#if ENABLE(TIZEN_ISF_PORT)
+#include "EditorClient.h"
+#endif
+
namespace WebCore {
using namespace HTMLNames;
swallowEvent = handleMousePressEventTripleClick(event);
else
swallowEvent = handleMousePressEventSingleClick(event);
+
+#if ENABLE(TIZEN_ISF_PORT)
+ m_frame->editor()->client()->respondToChangedSelection(m_frame);
+#endif
m_mouseDownMayStartAutoscroll = m_mouseDownMayStartSelect
|| (m_mousePressNode && m_mousePressNode->renderBox() && m_mousePressNode->renderBox()->canBeProgramaticallyScrolled());
Node* oldFocusedNode = oldDocument ? oldDocument->focusedNode() : 0;
#if ENABLE(TIZEN_ISF_PORT)
- if (oldFocusedNode == node) {
- if (node && node->shouldUseInputMethod() && newFocusedFrame->eventHandler()->mousePressed()) {
-#if ENABLE(TIZEN_CLIPBOARD) || ENABLE(TIZEN_PASTEBOARD)
- if (m_page->selection().isRange())
- return true;
-#endif
- m_page->editorClient()->setInputMethodState(true);
- }
- return true;
- }
-
// A variable to remember a desingMode state before focusing/bluring will change it.
bool oldDesignMode = false;
-#else
+#endif
+
if (oldFocusedNode == node)
return true;
-#endif //ENABLE(TIZEN_ISF_PORT)
// FIXME: Might want to disable this check for caretBrowsing
if (oldFocusedNode && oldFocusedNode->isRootEditableElement() && !relinquishesEditingFocus(oldFocusedNode))
inputMethodContext->m_viewImpl->pageClient->closeClipboardWindow();
#endif
evas_object_smart_callback_call(inputMethodContext->m_viewImpl->view(), "editorclient,ime,closed", 0);
- if (inputMethodContext->m_context)
- evas_object_focus_set(inputMethodContext->m_viewImpl->view(), false);
} else if (state == ECORE_IMF_INPUT_PANEL_STATE_SHOW)
evas_object_smart_callback_call(inputMethodContext->m_viewImpl->view(), "editorclient,ime,opened", 0);
}
return;
if (editor.isContentEditable && m_useInputMethod) {
- if (m_focused)
+ if (m_state != ECORE_IMF_INPUT_PANEL_STATE_HIDE)
return;
Ewk_Settings* settings = ewk_view_settings_get(m_viewImpl->view());