Changeset 75713 in webkit
- Timestamp:
- Jan 13, 2011 7:45:39 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r75712 r75713 1 2011-01-13 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Need a way to inform the application when a Netscape plugin is created. 6 https://bugs.webkit.org/show_bug.cgi?id=30179 7 8 Added "c" style static method for the application to hook up for 9 receiving notifications when a plugin is created. 10 11 * plugins/symbian/PluginViewSymbian.cpp: 12 (qtwebkit_setPluginCreatedCallback): 13 (WebCore::PluginView::platformStart): 14 1 15 2011-01-13 Yi Shen <yi.4.shen@nokia.com> 2 16 -
trunk/Source/WebCore/plugins/symbian/PluginViewSymbian.cpp
r75535 r75713 54 54 #include "npruntime_impl.h" 55 55 #include "qgraphicswebview.h" 56 #include "qwebframe.h" 57 #include "qwebframe_p.h" 56 58 #include "runtime_root.h" 57 59 #include <QGraphicsProxyWidget> … … 63 65 #include <runtime/JSLock.h> 64 66 #include <runtime/JSValue.h> 67 68 typedef void (*_qtwebkit_page_plugin_created)(QWebFrame*, void*, void*); // frame, plugin instance, plugin functions 69 static _qtwebkit_page_plugin_created qt_page_plugin_created = 0; 70 QWEBKIT_EXPORT void qtwebkit_setPluginCreatedCallback(_qtwebkit_page_plugin_created cb) 71 { 72 qtwebkit_page_plugin_created = cb; 73 } 65 74 66 75 using JSC::ExecState; … … 416 425 updatePluginWidget(); 417 426 setNPWindowIfNeeded(); 418 427 428 if (qtwebkit_page_plugin_created) 429 qtwebkit_page_plugin_created(QWebFramePrivate::kit(m_parentFrame.get()), m_instance, (void*)(m_plugin->pluginFuncs())); 430 419 431 return true; 420 432 } -
trunk/WebKit/qt/ChangeLog
r75708 r75713 1 2011-01-13 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Need a way to inform the application when a Netscape plugin is created. 6 https://bugs.webkit.org/show_bug.cgi?id=30179 7 8 Added "c" style static method for the application to hook up for 9 receiving notifications when a plugin is created. 10 11 * symbian/bwins/QtWebKitu.def: 12 * symbian/eabi/QtWebKitu.def: 13 1 14 2011-01-13 Yi Shen <yi.4.shen@nokia.com> 2 15 -
trunk/WebKit/qt/symbian/bwins/QtWebKitu.def
r59919 r75713 651 651 ?setTiledBackingStoreFrozen@QGraphicsWebView@@QAEX_N@Z @ 650 NONAME ; void QGraphicsWebView::setTiledBackingStoreFrozen(bool) 652 652 ?qtwebkit_webframe_scrollOverflow@@YA_NPAVQWebFrame@@HHABVQPoint@@@Z @ 651 NONAME ; bool qtwebkit_webframe_scrollOverflow(QWebFrame *, int, int, const QPoint&) 653 653 ?qtwebkit_setPluginCreatedCallback@@YAXP6AXPAVQWebFrame@@PAX1@Z@Z @ 652 NONAME ; void qtwebkit_setPluginCreatedCallback(void (*)(class QWebFrame *, void *, void *)) -
trunk/WebKit/qt/symbian/eabi/QtWebKitu.def
r72739 r75713 836 836 _ZN8QWebPage26featurePermissionRequestedEP9QWebFrameNS_7FeatureE @ 835 NONAME 837 837 _ZN8QWebPage32featurePermissionRequestCanceledEP9QWebFrameNS_7FeatureE @ 836 NONAME 838 838 _Z33qtwebkit_setPluginCreatedCallbackPFvP9QWebFramePvS1_E @ 837 NONAME
Note: See TracChangeset
for help on using the changeset viewer.