Changeset 90686 in webkit
- Timestamp:
- Jul 9, 2011 12:47:10 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r90647 r90686 1 2011-07-09 Noel Gordon <noel.gordon@gmail.com> 2 3 Reviewed by Adam Roben. 4 5 [WebKit2] Forward focus events to windowless plugins on the windows port. 6 https://bugs.webkit.org/show_bug.cgi?id=63251 7 8 No new tests. Covered by existing tests: plugins/mouse-events.html and 9 plugins/keyboard-events.html. 10 11 * WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp: 12 (WebKit::NetscapePlugin::platformSetFocus): 13 1 14 2011-07-08 Andreas Kling <kling@webkit.org> 2 15 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/win/NetscapePluginWin.cpp
r90332 r90686 309 309 } 310 310 311 void NetscapePlugin::platformSetFocus(bool) 312 { 313 CurrentPluginSetter setCurrentPlugin(this); 314 315 notImplemented(); 311 void NetscapePlugin::platformSetFocus(bool hasFocus) 312 { 313 CurrentPluginSetter setCurrentPlugin(this); 314 315 if (m_isWindowed) 316 return; 317 318 controller()->willSendEventToPlugin(); 319 320 NPEvent npEvent; 321 npEvent.event = hasFocus ? WM_SETFOCUS : WM_KILLFOCUS; 322 npEvent.wParam = 0; 323 npEvent.lParam = 0; 324 325 NPP_HandleEvent(&npEvent); 316 326 } 317 327
Note: See TracChangeset
for help on using the changeset viewer.