summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/content.h b/content/content.h
index 5ff40d00c..f3a443868 100644
--- a/content/content.h
+++ b/content/content.h
@@ -75,7 +75,8 @@ typedef enum {
CONTENT_MSG_LINK, /**< RFC5988 link */
CONTENT_MSG_GETCTX, /**< Javascript context */
CONTENT_MSG_SCROLL, /**< Request to scroll content */
- CONTENT_MSG_DRAGSAVE /**< Allow drag saving of content */
+ CONTENT_MSG_DRAGSAVE, /**< Allow drag saving of content */
+ CONTENT_MSG_SAVELINK /**< Allow URL to be saved */
} content_msg;
/** RFC5988 metadata link */
@@ -139,6 +140,11 @@ union content_msg_data {
} type;
struct hlcache_handle *content;
} dragsave;
+ /** CONTENT_MSG_SAVELINK - Save a URL */
+ struct {
+ const char *url;
+ const char *title;
+ } savelink;
};
/** parameters to content redraw */