mshtml: Added onclick attribute support.
This commit is contained in:
parent
23ad09865e
commit
01dc47c884
|
@ -35,6 +35,9 @@ struct event_target_t {
|
|||
IDispatch *event_table[EVENTID_LAST];
|
||||
};
|
||||
|
||||
static const WCHAR clickW[] = {'c','l','i','c','k',0};
|
||||
static const WCHAR onclickW[] = {'o','n','c','l','i','c','k',0};
|
||||
|
||||
static const WCHAR loadW[] = {'l','o','a','d',0};
|
||||
static const WCHAR onloadW[] = {'o','n','l','o','a','d',0};
|
||||
|
||||
|
@ -44,6 +47,7 @@ typedef struct {
|
|||
} event_info_t;
|
||||
|
||||
static const event_info_t event_info[] = {
|
||||
{clickW, onclickW},
|
||||
{loadW, onloadW}
|
||||
};
|
||||
|
||||
|
|
|
@ -98,6 +98,12 @@ typedef enum {
|
|||
LAST_tid
|
||||
} tid_t;
|
||||
|
||||
typedef enum {
|
||||
EVENTID_CLICK,
|
||||
EVENTID_LOAD,
|
||||
EVENTID_LAST
|
||||
} eventid_t;
|
||||
|
||||
typedef struct dispex_data_t dispex_data_t;
|
||||
typedef struct dispex_dynamic_data_t dispex_dynamic_data_t;
|
||||
|
||||
|
@ -492,11 +498,6 @@ void get_editor_controller(NSContainer*);
|
|||
void init_nsevents(NSContainer*);
|
||||
nsresult get_nsinterface(nsISupports*,REFIID,void**);
|
||||
|
||||
typedef enum {
|
||||
EVENTID_LOAD,
|
||||
EVENTID_LAST
|
||||
} eventid_t;
|
||||
|
||||
void check_event_attr(HTMLDocument*,nsIDOMElement*);
|
||||
void release_event_target(event_target_t*);
|
||||
void fire_event(HTMLDocument*,eventid_t,nsIDOMNode*);
|
||||
|
|
Loading…
Reference in New Issue