Changeset 23424 in webkit
- Timestamp:
- May 29, 2007 1:49:53 PM (17 years ago)
- Location:
- branches/WindowsMerge/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WindowsMerge/WebCore/ChangeLog
r23423 r23424 1 2007-05-29 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Adam. 4 5 <rdar://problem/4761543> nike.com doesn't finish loading if Flash plugin is installed 6 <rdar://problem/5131528> play button on Flash in ESPN front page does not start movie 7 8 Make sure to call NPP_SetWindow right after creating the plugin, and not from the main loop. However, 9 the WMP plugin needs to have the plugin's window coordinates set correctly when calling NPP_SetWindow so add a 10 quirk for that. 11 12 * plugins/win/PluginViewWin.cpp: 13 (WebCore::PluginViewWin::determineQuirks): 14 (WebCore::PluginViewWin::init): 15 * plugins/win/PluginViewWin.h: 16 (WebCore::): 17 1 18 2007-05-29 Sam Weinig <sam@webkit.org> 2 19 -
branches/WindowsMerge/WebCore/plugins/win/PluginViewWin.cpp
r23423 r23424 1154 1154 if (mimeType == "application/x-shockwave-flash") 1155 1155 m_quirks |= PluginQuirkWantsMozillaUserAgent; 1156 1157 // The WMP plugin sets its size on the first NPP_SetWindow call and never updates its size, so 1158 // call SetWindow when the plugin view has a correct size 1159 if (m_plugin->name().contains("Microsoft") && m_plugin->name().contains("Windows Media")) 1160 m_quirks |= PluginQuirkDeferFirstSetWindowCall; 1156 1161 } 1157 1162 … … 1234 1239 } 1235 1240 1241 if (!(m_quirks & PluginQuirkDeferFirstSetWindowCall)) 1242 setNPWindowRect(frameGeometry()); 1243 1236 1244 m_status = PluginStatusLoadedSuccessfully; 1237 1245 } -
branches/WindowsMerge/WebCore/plugins/win/PluginViewWin.h
r23384 r23424 62 62 enum PluginQuirks { 63 63 PluginQuirkWantsMozillaUserAgent = 1 << 0, 64 PluginQuirkDeferFirstSetWindowCall = 1 << 1, 64 65 }; 65 66
Note: See TracChangeset
for help on using the changeset viewer.