2012-07-22 18:48:55 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Michael Drake <tlsa@netsurf-browser.org>
|
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
* Useful interned string pointers (interface).
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NETSURF_UTILS_CORESTRINGS_H_
|
|
|
|
#define NETSURF_UTILS_CORESTRINGS_H_
|
|
|
|
|
|
|
|
#include <libwapcaplet/libwapcaplet.h>
|
|
|
|
#include "utils/errors.h"
|
|
|
|
|
2015-02-26 18:58:40 +03:00
|
|
|
/** File url prefix. */
|
|
|
|
#define FILE_SCHEME_PREFIX "file:///"
|
|
|
|
|
|
|
|
/** File url prefix length. */
|
|
|
|
#define FILE_SCHEME_PREFIX_LEN 8
|
|
|
|
|
2012-07-22 18:48:55 +04:00
|
|
|
nserror corestrings_init(void);
|
|
|
|
void corestrings_fini(void);
|
|
|
|
|
|
|
|
/* lwc_string strings */
|
|
|
|
extern lwc_string *corestring_lwc_a;
|
2014-01-25 00:08:41 +04:00
|
|
|
extern lwc_string *corestring_lwc_about;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_abscenter;
|
|
|
|
extern lwc_string *corestring_lwc_absmiddle;
|
|
|
|
extern lwc_string *corestring_lwc_align;
|
|
|
|
extern lwc_string *corestring_lwc_applet;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_base;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_baseline;
|
|
|
|
extern lwc_string *corestring_lwc_body;
|
|
|
|
extern lwc_string *corestring_lwc_bottom;
|
2012-07-22 21:01:10 +04:00
|
|
|
extern lwc_string *corestring_lwc_button;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_caption;
|
|
|
|
extern lwc_string *corestring_lwc_center;
|
2013-02-24 17:15:05 +04:00
|
|
|
extern lwc_string *corestring_lwc_charset;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_checkbox;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_circle;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_col;
|
2014-01-25 00:08:41 +04:00
|
|
|
extern lwc_string *corestring_lwc_data;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_default;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_div;
|
|
|
|
extern lwc_string *corestring_lwc_embed;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_file;
|
2014-01-25 13:53:54 +04:00
|
|
|
extern lwc_string *corestring_lwc_filename;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_font;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_frame;
|
|
|
|
extern lwc_string *corestring_lwc_frameset;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_h1;
|
|
|
|
extern lwc_string *corestring_lwc_h2;
|
|
|
|
extern lwc_string *corestring_lwc_h3;
|
|
|
|
extern lwc_string *corestring_lwc_h4;
|
|
|
|
extern lwc_string *corestring_lwc_h5;
|
|
|
|
extern lwc_string *corestring_lwc_h6;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_head;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_hidden;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_hr;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_html;
|
2014-01-24 23:25:07 +04:00
|
|
|
extern lwc_string *corestring_lwc_http;
|
2012-10-08 22:26:35 +04:00
|
|
|
extern lwc_string *corestring_lwc_https;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern lwc_string *corestring_lwc_icon;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_iframe;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_image;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_img;
|
|
|
|
extern lwc_string *corestring_lwc_input;
|
2014-08-26 02:58:56 +04:00
|
|
|
extern lwc_string *corestring_lwc_javascript;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_justify;
|
|
|
|
extern lwc_string *corestring_lwc_left;
|
2012-10-12 19:21:29 +04:00
|
|
|
extern lwc_string *corestring_lwc_li;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc_link;
|
2016-01-08 20:16:42 +03:00
|
|
|
extern lwc_string *corestring_lwc_mailto;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_meta;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_middle;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern lwc_string *corestring_lwc_multipart_form_data; /* multipart/form-data */
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_no;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_noscript;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_object;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_optgroup;
|
|
|
|
extern lwc_string *corestring_lwc_option;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_p;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_param;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_password;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_poly;
|
|
|
|
extern lwc_string *corestring_lwc_polygon;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_post;
|
|
|
|
extern lwc_string *corestring_lwc_radio;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern lwc_string *corestring_lwc_rect;
|
|
|
|
extern lwc_string *corestring_lwc_rectangle;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_refresh;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_reset;
|
2014-01-25 00:08:41 +04:00
|
|
|
extern lwc_string *corestring_lwc_resource;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_right;
|
2012-11-04 21:29:26 +04:00
|
|
|
extern lwc_string *corestring_lwc_search;
|
2012-09-19 17:42:05 +04:00
|
|
|
extern lwc_string *corestring_lwc_select;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern lwc_string *corestring_lwc_shortcut_icon; /* shortcut icon */
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_src;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_style;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_submit;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_table;
|
|
|
|
extern lwc_string *corestring_lwc_tbody;
|
|
|
|
extern lwc_string *corestring_lwc_td;
|
|
|
|
extern lwc_string *corestring_lwc_text;
|
|
|
|
extern lwc_string *corestring_lwc_textarea;
|
|
|
|
extern lwc_string *corestring_lwc_texttop;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern lwc_string *corestring_lwc_text_css; /* text/css */
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_tfoot;
|
|
|
|
extern lwc_string *corestring_lwc_th;
|
|
|
|
extern lwc_string *corestring_lwc_thead;
|
2012-07-23 15:06:43 +04:00
|
|
|
extern lwc_string *corestring_lwc_title;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern lwc_string *corestring_lwc_top;
|
|
|
|
extern lwc_string *corestring_lwc_tr;
|
2012-10-12 19:21:29 +04:00
|
|
|
extern lwc_string *corestring_lwc_ul;
|
2012-07-26 17:49:27 +04:00
|
|
|
extern lwc_string *corestring_lwc_url;
|
2012-07-26 18:57:33 +04:00
|
|
|
extern lwc_string *corestring_lwc_yes;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern lwc_string *corestring_lwc__blank;
|
|
|
|
extern lwc_string *corestring_lwc__parent;
|
|
|
|
extern lwc_string *corestring_lwc__self;
|
|
|
|
extern lwc_string *corestring_lwc__top;
|
2014-10-31 01:25:31 +03:00
|
|
|
extern lwc_string *corestring_lwc_slash_; /* / */
|
2012-07-22 18:48:55 +04:00
|
|
|
|
|
|
|
struct dom_string;
|
|
|
|
|
|
|
|
/* dom_string strings */
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_a;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_alt;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_abort;
|
|
|
|
extern struct dom_string *corestring_dom_afterprint;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_align;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_area;
|
2012-07-27 19:59:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_async;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_background;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_beforeprint;
|
|
|
|
extern struct dom_string *corestring_dom_beforeunload;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_bgcolor;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_blur;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_border;
|
|
|
|
extern struct dom_string *corestring_dom_bordercolor;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_cancel;
|
|
|
|
extern struct dom_string *corestring_dom_canplay;
|
|
|
|
extern struct dom_string *corestring_dom_canplaythrough;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_cellpadding;
|
|
|
|
extern struct dom_string *corestring_dom_cellspacing;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_change;
|
2012-12-31 03:33:27 +04:00
|
|
|
extern struct dom_string *corestring_dom_charset;
|
2013-01-23 21:00:13 +04:00
|
|
|
extern struct dom_string *corestring_dom_class;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_classid;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_click;
|
|
|
|
extern struct dom_string *corestring_dom_close;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_codebase;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_color;
|
|
|
|
extern struct dom_string *corestring_dom_cols;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_colspan;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_content;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_contextmenu;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_coords;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_cuechange;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_data;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_dblclick;
|
2012-07-27 19:59:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_defer;
|
2013-02-20 03:51:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_DOMAttrModified;
|
|
|
|
extern struct dom_string *corestring_dom_DOMNodeInserted;
|
|
|
|
extern struct dom_string *corestring_dom_DOMNodeInsertedIntoDocument;
|
|
|
|
extern struct dom_string *corestring_dom_DOMSubtreeModified;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_drag;
|
|
|
|
extern struct dom_string *corestring_dom_dragend;
|
|
|
|
extern struct dom_string *corestring_dom_dragenter;
|
|
|
|
extern struct dom_string *corestring_dom_dragleave;
|
|
|
|
extern struct dom_string *corestring_dom_dragover;
|
|
|
|
extern struct dom_string *corestring_dom_dragstart;
|
|
|
|
extern struct dom_string *corestring_dom_drop;
|
|
|
|
extern struct dom_string *corestring_dom_durationchange;
|
|
|
|
extern struct dom_string *corestring_dom_emptied;
|
|
|
|
extern struct dom_string *corestring_dom_ended;
|
|
|
|
extern struct dom_string *corestring_dom_error;
|
|
|
|
extern struct dom_string *corestring_dom_focus;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_frameborder;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_hashchange;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_height;
|
|
|
|
extern struct dom_string *corestring_dom_href;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_hreflang;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_hspace;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern struct dom_string *corestring_dom_http_equiv; /* http-equiv */
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_id;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_input;
|
|
|
|
extern struct dom_string *corestring_dom_invalid;
|
|
|
|
extern struct dom_string *corestring_dom_keydown;
|
|
|
|
extern struct dom_string *corestring_dom_keypress;
|
|
|
|
extern struct dom_string *corestring_dom_keyup;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_link;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_load;
|
|
|
|
extern struct dom_string *corestring_dom_loadeddata;
|
|
|
|
extern struct dom_string *corestring_dom_loadedmetadata;
|
|
|
|
extern struct dom_string *corestring_dom_loadstart;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_map;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_marginheight;
|
|
|
|
extern struct dom_string *corestring_dom_marginwidth;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_media;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_message;
|
|
|
|
extern struct dom_string *corestring_dom_mousedown;
|
|
|
|
extern struct dom_string *corestring_dom_mousemove;
|
|
|
|
extern struct dom_string *corestring_dom_mouseout;
|
|
|
|
extern struct dom_string *corestring_dom_mouseover;
|
|
|
|
extern struct dom_string *corestring_dom_mouseup;
|
|
|
|
extern struct dom_string *corestring_dom_mousewheel;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_name;
|
|
|
|
extern struct dom_string *corestring_dom_nohref;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_noresize;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_offline;
|
|
|
|
extern struct dom_string *corestring_dom_online;
|
|
|
|
extern struct dom_string *corestring_dom_pagehide;
|
|
|
|
extern struct dom_string *corestring_dom_pageshow;
|
|
|
|
extern struct dom_string *corestring_dom_pause;
|
|
|
|
extern struct dom_string *corestring_dom_play;
|
|
|
|
extern struct dom_string *corestring_dom_playing;
|
|
|
|
extern struct dom_string *corestring_dom_popstate;
|
|
|
|
extern struct dom_string *corestring_dom_progress;
|
|
|
|
extern struct dom_string *corestring_dom_ratechange;
|
2012-12-17 18:55:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_readystatechange;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_rect;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_rel;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_reset;
|
|
|
|
extern struct dom_string *corestring_dom_resize;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_rows;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_rowspan;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_scroll;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_scrolling;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_seeked;
|
|
|
|
extern struct dom_string *corestring_dom_seeking;
|
|
|
|
extern struct dom_string *corestring_dom_select;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_selected;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_shape;
|
|
|
|
extern struct dom_string *corestring_dom_show;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_size;
|
2012-07-23 02:28:45 +04:00
|
|
|
extern struct dom_string *corestring_dom_sizes;
|
2012-07-22 21:58:22 +04:00
|
|
|
extern struct dom_string *corestring_dom_src;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_stalled;
|
|
|
|
extern struct dom_string *corestring_dom_storage;
|
2013-02-20 03:51:16 +04:00
|
|
|
extern struct dom_string *corestring_dom_style;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_submit;
|
|
|
|
extern struct dom_string *corestring_dom_suspend;
|
2012-07-22 23:52:34 +04:00
|
|
|
extern struct dom_string *corestring_dom_target;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_text;
|
2014-01-25 03:13:18 +04:00
|
|
|
extern struct dom_string *corestring_dom_text_javascript; /* text/javascript */
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_timeupdate;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_title;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_type;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_unload;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_valign;
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom_value;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_vlink;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_volumechange;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_vspace;
|
2012-11-28 21:19:49 +04:00
|
|
|
extern struct dom_string *corestring_dom_waiting;
|
2012-07-22 18:48:55 +04:00
|
|
|
extern struct dom_string *corestring_dom_width;
|
2014-01-05 19:50:23 +04:00
|
|
|
/* DOM node types */
|
|
|
|
extern struct dom_string *corestring_dom_BUTTON;
|
|
|
|
extern struct dom_string *corestring_dom_INPUT;
|
|
|
|
extern struct dom_string *corestring_dom_SELECT;
|
|
|
|
extern struct dom_string *corestring_dom_TEXTAREA;
|
2015-08-09 13:58:42 +03:00
|
|
|
extern struct dom_string *corestring_dom_BODY;
|
|
|
|
extern struct dom_string *corestring_dom_HEAD;
|
|
|
|
/* DOM namespaces */
|
|
|
|
extern struct dom_string *corestring_dom_html_namespace;
|
2014-01-05 19:50:23 +04:00
|
|
|
/* DOM input node types */
|
|
|
|
extern struct dom_string *corestring_dom_button;
|
|
|
|
/* extern struct dom_string *corestring_dom_submit; */
|
|
|
|
/* extern struct dom_string *corestring_dom_reset; */
|
|
|
|
extern struct dom_string *corestring_dom_image;
|
|
|
|
extern struct dom_string *corestring_dom_radio;
|
|
|
|
extern struct dom_string *corestring_dom_checkbox;
|
|
|
|
extern struct dom_string *corestring_dom_file;
|
2015-11-22 17:50:35 +03:00
|
|
|
/* Event prefix */
|
2014-01-05 19:50:23 +04:00
|
|
|
extern struct dom_string *corestring_dom_on;
|
2015-11-22 17:50:35 +03:00
|
|
|
/* These are the event attributes which forward from body to window */
|
|
|
|
extern struct dom_string *corestring_dom_onblur;
|
|
|
|
extern struct dom_string *corestring_dom_onerror;
|
|
|
|
extern struct dom_string *corestring_dom_onfocus;
|
|
|
|
extern struct dom_string *corestring_dom_onload;
|
|
|
|
extern struct dom_string *corestring_dom_onresize;
|
|
|
|
extern struct dom_string *corestring_dom_onscroll;
|
|
|
|
|
2014-01-05 19:50:23 +04:00
|
|
|
/* DOM userdata keys */
|
2014-01-24 22:58:12 +04:00
|
|
|
extern struct dom_string *corestring_dom___ns_key_box_node_data;
|
2013-12-14 03:02:15 +04:00
|
|
|
extern struct dom_string *corestring_dom___ns_key_libcss_node_data;
|
2014-01-04 20:30:52 +04:00
|
|
|
extern struct dom_string *corestring_dom___ns_key_file_name_node_data;
|
2014-01-05 20:14:17 +04:00
|
|
|
extern struct dom_string *corestring_dom___ns_key_image_coords_node_data;
|
2015-08-09 13:58:42 +03:00
|
|
|
extern struct dom_string *corestring_dom___ns_key_html_content_data;
|
2012-07-22 18:48:55 +04:00
|
|
|
|
2014-02-08 19:00:08 +04:00
|
|
|
/* URLs */
|
2015-02-26 19:58:41 +03:00
|
|
|
extern struct nsurl *corestring_nsurl_about_blank;
|
2012-11-28 21:19:49 +04:00
|
|
|
|
2012-07-22 18:48:55 +04:00
|
|
|
#endif
|