d3d8: Get rid of the format switching code in d3d8_device_CopyRects().
[wine.git] / dlls / mshtml / htmlscript.h
blob8a0c1e56a877d611bae0754348b4f59e6bde8fe7
1 /*
2 * Copyright 2012 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 typedef struct {
20 HTMLElement element;
22 IHTMLScriptElement IHTMLScriptElement_iface;
24 nsIDOMHTMLScriptElement *nsscript;
25 BOOL parsed;
26 BOOL parse_on_bind;
27 } HTMLScriptElement;
29 typedef struct {
30 struct list entry;
31 HTMLScriptElement *script;
32 } script_queue_entry_t;
34 HRESULT script_elem_from_nsscript(HTMLDocumentNode*,nsIDOMHTMLScriptElement*,HTMLScriptElement**) DECLSPEC_HIDDEN;
35 void bind_event_scripts(HTMLDocumentNode*) DECLSPEC_HIDDEN;
37 void release_script_hosts(HTMLInnerWindow*) DECLSPEC_HIDDEN;
38 void connect_scripts(HTMLInnerWindow*) DECLSPEC_HIDDEN;
39 void doc_insert_script(HTMLInnerWindow*,HTMLScriptElement*) DECLSPEC_HIDDEN;
40 IDispatch *script_parse_event(HTMLInnerWindow*,LPCWSTR) DECLSPEC_HIDDEN;
41 HRESULT exec_script(HTMLInnerWindow*,const WCHAR*,const WCHAR*,VARIANT*) DECLSPEC_HIDDEN;
42 void set_script_mode(HTMLOuterWindow*,SCRIPTMODE) DECLSPEC_HIDDEN;
43 BOOL find_global_prop(HTMLInnerWindow*,BSTR,DWORD,ScriptHost**,DISPID*) DECLSPEC_HIDDEN;
44 IDispatch *get_script_disp(ScriptHost*) DECLSPEC_HIDDEN;