diff options
Diffstat (limited to 'WebKit/gtk/WebCoreSupport/EditorClientGtk.h')
-rw-r--r-- | WebKit/gtk/WebCoreSupport/EditorClientGtk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/gtk/WebCoreSupport/EditorClientGtk.h b/WebKit/gtk/WebCoreSupport/EditorClientGtk.h index 2688629..3e881fa 100644 --- a/WebKit/gtk/WebCoreSupport/EditorClientGtk.h +++ b/WebKit/gtk/WebCoreSupport/EditorClientGtk.h @@ -61,6 +61,7 @@ namespace WebKit { ~EditorClient(); WebKitWebView* webView() { return m_webView; } bool treatContextCommitAsKeyEvent() { return m_treatContextCommitAsKeyEvent; } + bool preventNextCompositionCommit() { return m_preventNextCompositionCommit; } void clearPendingComposition() { m_pendingComposition.set(0); } bool hasPendingComposition() { return m_pendingComposition; } void addPendingEditorCommand(const char* command) { m_pendingEditorCommands.append(command); } @@ -112,6 +113,7 @@ namespace WebKit { virtual void handleKeyboardEvent(WebCore::KeyboardEvent*); virtual void handleInputMethodKeydown(WebCore::KeyboardEvent*); + virtual void handleInputMethodMousePress(); virtual void textFieldDidBeginEditing(WebCore::Element*); virtual void textFieldDidEndEditing(WebCore::Element*); @@ -135,6 +137,7 @@ namespace WebKit { private: WebKitWebView* m_webView; + bool m_preventNextCompositionCommit; bool m_treatContextCommitAsKeyEvent; GOwnPtr<gchar> m_pendingComposition; Vector<const char*> m_pendingEditorCommands; |