Changeset 49676 in webkit
- Timestamp:
- Oct 16, 2009 6:18:37 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r49675 r49676 1 2009-10-16 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Tor Arne Vestbø. 4 5 [Qt] Need a way to inform the application when a Netscape plugin is created or deleted 6 https://bugs.webkit.org/show_bug.cgi?id=30179 7 8 Inform the application when a plugin is created or destroyed, but only if the 9 application registered for these notifications. 10 11 * plugins/symbian/PluginViewSymbian.cpp: 12 (WebCore::PluginView::platformStart): 13 (WebCore::PluginView::platformDestroy): 14 1 15 2009-10-16 Shu Chang <Chang.Shu@nokia.com> 2 16 -
trunk/WebCore/plugins/symbian/PluginViewSymbian.cpp
r49574 r49676 75 75 using namespace HTMLNames; 76 76 77 typedef void (*_qt_page_plugin_created)(QWebFrame* frame, void* plugin); 78 extern _qt_page_plugin_created qt_page_plugin_created; 79 80 typedef void (*_qt_page_plugin_destroyed)(void* plugin); 81 extern _qt_page_plugin_destroyed qt_page_plugin_destroyed; 82 77 83 void PluginView::updatePluginWidget() 78 84 { … … 443 449 } 444 450 setNPWindowIfNeeded(); 445 451 452 if (qt_page_plugin_created) 453 qt_page_plugin_created(QWebFramePrivate::kit(m_parentFrame), m_instance->pdate); 454 446 455 return true; 447 456 } … … 449 458 void PluginView::platformDestroy() 450 459 { 460 if (qt_page_plugin_destroyed) 461 qt_page_plugin_destroyed(m_instance->pdate); 462 451 463 delete platformPluginWidget(); 452 464 } -
trunk/WebKit/qt/Api/qwebpage.cpp
r49492 r49676 109 109 110 110 using namespace WebCore; 111 112 typedef void (*_qt_page_plugin_created)(QWebFrame* frame, void* plugin); 113 QWEBKIT_EXPORT _qt_page_plugin_created qt_page_plugin_created = 0; 114 115 typedef void (*_qt_page_plugin_destroyed)(void* plugin); 116 QWEBKIT_EXPORT _qt_page_plugin_destroyed qt_page_plugin_destroyed = 0; 111 117 112 118 void QWEBKIT_EXPORT qt_drt_overwritePluginDirectories() -
trunk/WebKit/qt/ChangeLog
r49642 r49676 1 2009-10-16 Yael Aharon <yael.aharon@nokia.com> 2 3 Reviewed by Tor Arne Vestbø. 4 5 [Qt] Need a way to inform the application when a Netscape plugin is created or deleted 6 https://bugs.webkit.org/show_bug.cgi?id=30179 7 8 Added "c" style static methods for the application to hook up for 9 receiving notifications when a plugin is created or destroyed. 10 11 * Api/qwebpage.cpp: 12 1 13 2009-10-15 Antonio Gomes <tonikitoo@webkit.org> 2 14
Note: See TracChangeset
for help on using the changeset viewer.