OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef ScriptController_h | 31 #ifndef ScriptController_h |
32 #define ScriptController_h | 32 #define ScriptController_h |
33 | 33 |
34 #include "bindings/core/v8/ScriptValue.h" | |
35 #include "bindings/core/v8/SharedPersistent.h" | 34 #include "bindings/core/v8/SharedPersistent.h" |
36 | 35 |
37 #include "core/fetch/CrossOriginAccessControl.h" | 36 #include "core/fetch/CrossOriginAccessControl.h" |
38 #include "wtf/Forward.h" | |
39 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
40 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
41 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
42 #include "wtf/text/TextPosition.h" | 40 #include "wtf/text/TextPosition.h" |
43 #include <v8.h> | 41 #include <v8.h> |
44 | 42 |
45 struct NPObject; | 43 struct NPObject; |
46 | 44 |
47 namespace blink { | 45 namespace blink { |
48 | 46 |
49 class DOMWrapperWorld; | 47 class DOMWrapperWorld; |
50 class ExecutionContext; | 48 class ExecutionContext; |
51 class Event; | |
52 class HTMLDocument; | 49 class HTMLDocument; |
53 class HTMLPlugInElement; | 50 class HTMLPlugInElement; |
54 class KURL; | 51 class KURL; |
55 class LocalFrame; | 52 class LocalFrame; |
56 class ScriptState; | 53 class ScriptState; |
57 class ScriptSourceCode; | 54 class ScriptSourceCode; |
58 class SecurityOrigin; | 55 class SecurityOrigin; |
59 class WindowProxy; | 56 class WindowProxy; |
60 class Widget; | 57 class Widget; |
61 | 58 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 // invalidate all sub-objects which are associated with that plugin. | 164 // invalidate all sub-objects which are associated with that plugin. |
168 // The frame keeps a NPObject reference for each item on the list. | 165 // The frame keeps a NPObject reference for each item on the list. |
169 PluginObjectMap m_pluginObjects; | 166 PluginObjectMap m_pluginObjects; |
170 | 167 |
171 NPObject* m_windowScriptNPObject; | 168 NPObject* m_windowScriptNPObject; |
172 }; | 169 }; |
173 | 170 |
174 } // namespace blink | 171 } // namespace blink |
175 | 172 |
176 #endif // ScriptController_h | 173 #endif // ScriptController_h |
OLD | NEW |