diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-26 10:42:44 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-09-26 10:42:44 +0200 |
commit | 33b26980cb24288b5a9f2590ccf32a949281bb79 (patch) | |
tree | cc0203dac37338b24b0b25a4694c0b76d4e4164b /Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h | |
parent | 715be629d51174233403237bfc563cf150087dc8 (diff) | |
download | qtwebkit-33b26980cb24288b5a9f2590ccf32a949281bb79.tar.gz |
Imported WebKit commit c596dd7f03007fa7ed896b928106497e8784b3b5 (http://svn.webkit.org/repository/webkit/trunk@129610)
New snapshot that removes QtQuick1 support (to be moved into QtQuick1 module)
Diffstat (limited to 'Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h')
-rw-r--r-- | Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h b/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h index 36c72a0d3..437395710 100644 --- a/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h +++ b/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h @@ -67,11 +67,33 @@ G_BEGIN_DECLS * * The select all command. Selects all the content of the current text field in * a #WebKitWebView. - * It is always possible to select all text, no matter wheter the #WebKitWebView content - * is editable or not. You can still check it with webkit_web_view_can_execute_editing_command(). + * It is always possible to select all text, no matter whether the + * #WebKitWebView content is editable or not. You can still check it + * with webkit_web_view_can_execute_editing_command(). */ #define WEBKIT_EDITING_COMMAND_SELECT_ALL "SelectAll" +/** + * WEBKIT_EDITING_COMMAND_UNDO: + * + * The undo command. Undoes the last editing command in a #WebKitWebView. + * You can check whether it's possible to execute the command with + * webkit_web_view_can_execute_editing_command(). It's only possible + * to undo a command after a previously executed editing operation. + */ +#define WEBKIT_EDITING_COMMAND_UNDO "Undo" + +/** + * WEBKIT_EDITING_COMMAND_REDO: + * + * The redo command. Redoes a previously undone editing command in + * a #WebKitWebView. + * You can check whether it's possible to execute the command with + * webkit_web_view_can_execute_editing_command(). It's only possible + * to redo a command when it has been previously undone. + */ +#define WEBKIT_EDITING_COMMAND_REDO "Redo" + G_END_DECLS #endif |