EditorClient::EditorClient(WebKitWebView* webView) : m_isInRedo(false) #if ENABLE(SPELLCHECK) , m_textCheckerClient(WEBKIT_SPELL_CHECKER(webkit_get_text_checker())) #endif , m_webView(webView) { }
EditorClient::EditorClient(WebKitWebView* webView) : m_isInRedo(false) #if ENABLE(SPELLCHECK) , m_textCheckerClient(WEBKIT_SPELL_CHECKER(webkit_get_text_checker())) #endif , m_webView(webView) , m_preventNextCompositionCommit(false) , m_treatContextCommitAsKeyEvent(false) , m_smartInsertDeleteEnabled(false) { WebKitWebViewPrivate* priv = m_webView->priv; g_signal_connect(priv->imContext.get(), "commit", G_CALLBACK(imContextCommitted), this); g_signal_connect(priv->imContext.get(), "preedit-changed", G_CALLBACK(imContextPreeditChanged), this); }