<rdar://problem/
5093862>
Nothing shown in plugin area when trying to play content using the DivX plugin
Defer calling SetWindow for the DivX plugin, just like we do with the WMP plugin.
* plugins/win/PluginViewWin.cpp:
(WebCore::PluginViewWin::determineQuirks):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23956
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-07-03 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5093862>
+ Nothing shown in plugin area when trying to play content using the DivX plugin
+
+ Defer calling SetWindow for the DivX plugin, just like we do with the WMP plugin.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::determineQuirks):
+
2007-07-03 Sam Weinig <sam@webkit.org>
Reviewed by Brady Eidson.
m_quirks |= PluginQuirkRemoveWindowlessVideoParam;
}
+ // The DivX plugin sets its size on the first NPP_SetWindow call and never updates its size, so
+ // call SetWindow when the plugin view has a correct size
+ if (mimeType == "video/divx")
+ m_quirks |= PluginQuirkDeferFirstSetWindowCall;
+
// Shockwave calls SetWindowLongA to set a new WNDPROC on its plugin window. The value returned from SetWindowLongA is the old WNDPROC.
// If the previous WNDPROC was an Unicode WNDPROC, the address of the WNDPROC will not be returned. Instead, a special
// value that indicates that the messages coming to the WNDPROC need to be translated to Unicode. If CallWndProc is used to