Changeset 53673 in webkit
- Timestamp:
- Jan 21, 2010 9:06:41 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53672 r53673 1 2010-01-21 Andrei Popescu <andreip@google.com> 2 3 Reviewed by David Levin. 4 5 [Android] bindings/v8/ScriptController.cpp needs to include 6 PlatformBridge.h instead of ChromiumBridge.h so that it can 7 be used on both Chromium and Android. 8 https://bugs.webkit.org/show_bug.cgi?id=33673 9 10 Add "static NPObject* pluginScriptableObject(Widget*);" method 11 to PlatformBridge.h 12 Include PlatformBridge.h from ScriptController.cpp. 13 14 No new tests, just platform code. 15 16 * bindings/v8/ScriptController.cpp: 17 (WebCore::ScriptController::createScriptInstanceForWidget): 18 * platform/android/PlatformBridge.h: 19 1 20 2010-01-21 Brady Eidson <beidson@apple.com> 2 21 -
trunk/WebCore/bindings/v8/ScriptController.cpp
r53290 r53673 33 33 #include "ScriptController.h" 34 34 35 #include " ChromiumBridge.h"35 #include "PlatformBridge.h" 36 36 #include "CString.h" 37 37 #include "Document.h" … … 303 303 return 0; 304 304 305 NPObject* npObject = ChromiumBridge::pluginScriptableObject(widget); 305 NPObject* npObject = PlatformBridge::pluginScriptableObject(widget); 306 306 307 if (!npObject) 307 308 return 0; -
trunk/WebCore/platform/android/PlatformBridge.h
r53634 r53673 78 78 79 79 80 class NPObject; 81 80 82 namespace WebCore { 83 84 class Widget; 81 85 82 86 // An interface to the embedding layer, which has the ability to answer … … 99 103 static String cookies(const KURL&); 100 104 static bool cookiesEnabled(); 105 // Plugin 106 static NPObject* pluginScriptableObject(Widget*); 101 107 }; 102 108
Note: See TracChangeset
for help on using the changeset viewer.