OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Harri Porten (porten@kde.org) | 2 * Copyright (C) 1999 Harri Porten (porten@kde.org) |
3 * Copyright (C) 2001 Peter Kelly (pmk@post.com) | 3 * Copyright (C) 2001 Peter Kelly (pmk@post.com) |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 PassRefPtr<JSC::Bindings::RootObject> createRootObject(void* nativeHandle); | 121 PassRefPtr<JSC::Bindings::RootObject> createRootObject(void* nativeHandle); |
122 | 122 |
123 #if PLATFORM(MAC) | 123 #if PLATFORM(MAC) |
124 #if ENABLE(MAC_JAVA_BRIDGE) | 124 #if ENABLE(MAC_JAVA_BRIDGE) |
125 static void initJavaJSBindings(); | 125 static void initJavaJSBindings(); |
126 #endif | 126 #endif |
127 WebScriptObject* windowScriptObject(); | 127 WebScriptObject* windowScriptObject(); |
128 #endif | 128 #endif |
129 | 129 |
| 130 JSC::JSObject* jsObjectForPluginElement(HTMLPlugInElement*); |
| 131 |
130 #if ENABLE(NETSCAPE_PLUGIN_API) | 132 #if ENABLE(NETSCAPE_PLUGIN_API) |
131 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); | 133 NPObject* createScriptObjectForPluginElement(HTMLPlugInElement*); |
132 NPObject* windowScriptNPObject(); | 134 NPObject* windowScriptNPObject(); |
133 #endif | 135 #endif |
134 | 136 |
135 private: | 137 private: |
136 void initScriptIfNeeded() | 138 void initScriptIfNeeded() |
137 { | 139 { |
138 if (!m_windowShell) | 140 if (!m_windowShell) |
139 initScript(); | 141 initScript(); |
(...skipping 21 matching lines...) Expand all Loading... |
161 NPObject* m_windowScriptNPObject; | 163 NPObject* m_windowScriptNPObject; |
162 #endif | 164 #endif |
163 #if PLATFORM(MAC) | 165 #if PLATFORM(MAC) |
164 RetainPtr<WebScriptObject> m_windowScriptObject; | 166 RetainPtr<WebScriptObject> m_windowScriptObject; |
165 #endif | 167 #endif |
166 }; | 168 }; |
167 | 169 |
168 } // namespace WebCore | 170 } // namespace WebCore |
169 | 171 |
170 #endif // ScriptController_h | 172 #endif // ScriptController_h |
OLD | NEW |