diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h')
-rw-r--r-- | Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h b/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h index 437395710..f6a2061ca 100644 --- a/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h +++ b/Source/WebKit2/UIProcess/API/gtk/WebKitEditingCommands.h @@ -94,6 +94,31 @@ G_BEGIN_DECLS */ #define WEBKIT_EDITING_COMMAND_REDO "Redo" +/** + * WEBKIT_EDITING_COMMAND_INSERT_IMAGE: + * + * The insert image command. Creates an image element that is inserted at + * the current cursor position. It receives an URI as argument, + * that is used as the image source. This command should be executed with + * webkit_web_view_execute_editing_command_with_argument(). + * + * Since: 2.10 + */ +#define WEBKIT_EDITING_COMMAND_INSERT_IMAGE "InsertImage" + +/** + * WEBKIT_EDITING_COMMAND_CREATE_LINK: + * + * The create link command. Creates a link element that is inserted at + * the current cursor position. If there's a selection, the selected text + * will be used as the link text, otherwise the URL itself will be used. + * It receives the link URL as argument. This command should be executed + * with webkit_web_view_execute_editing_command_with_argument() + * + * Since: 2.10 + */ +#define WEBKIT_EDITING_COMMAND_CREATE_LINK "CreateLink" + G_END_DECLS #endif |