Title: [127496] branches/safari-536.26-branch/Source/WebKit2
Diff
Modified: branches/safari-536.26-branch/Source/WebKit2/ChangeLog (127495 => 127496)
--- branches/safari-536.26-branch/Source/WebKit2/ChangeLog 2012-09-04 20:30:09 UTC (rev 127495)
+++ branches/safari-536.26-branch/Source/WebKit2/ChangeLog 2012-09-04 20:30:38 UTC (rev 127496)
@@ -1,3 +1,36 @@
+2012-09-04 Lucas Forschler <[email protected]>
+
+ Rollout r127276.
+
+ 2012-08-31 Timothy Hatcher <[email protected]>
+
+ Merge r127047.
+
+ 2012-08-29 Brady Eidson <[email protected]>
+
+ REGRESSION: Not sending NPP_SetWindow is causing Flash to not throttle itself
+ <rdar://problem/12133021> and https://bugs.webkit.org/show_bug.cgi?id=95274
+
+ Reviewed by Sam Weinig.
+
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView viewDidMoveToWindow]): Previously we'd only update window visibility when the window is hidden.
+ Now we also update window visibility when the window is shown.
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::callSetWindowInvisible): Call set window with a manufactured empty clip rect to tell
+ the plug-in that it is complete hidden.
+ (WebKit):
+ * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+ (NetscapePlugin):
+ * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
+ (WebKit::NetscapePlugin::windowVisibilityChanged): Call "callSetWindow" or "callSetWindowInvisible" as appropriate.
+
+ * WebProcess/Plugins/PluginView.cpp:
+ (WebKit::PluginView::setWindowIsVisible): Tell the plugin that its visibility changed.
+ (WebKit::PluginView::viewGeometryDidChange): Grab a clip rect that - although incorrect - at least is correct if
+ the PluginView is completely hidden.
+
2012-08-14 Lucas Forschler <[email protected]>
Rollout 127322.
Modified: branches/safari-536.26-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (127495 => 127496)
--- branches/safari-536.26-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp 2012-09-04 20:30:09 UTC (rev 127495)
+++ branches/safari-536.26-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp 2012-09-04 20:30:38 UTC (rev 127496)
@@ -401,7 +401,7 @@
#if PLATFORM(MAC)
void PluginView::setWindowIsVisible(bool windowIsVisible)
{
- if (!m_isInitialized || !m_plugin)
+ if (!m_plugin)
return;
m_plugin->windowVisibilityChanged(windowIsVisible);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes