Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm

Issue 12408009: Merge 144236 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h ('k') | Source/WebKit2/ChangeLog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm
===================================================================
--- Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (revision 145387)
+++ Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (working copy)
@@ -1583,6 +1583,12 @@
event->setDefaultHandled(); // We don't know if the plug-in has handled mousedown event by displaying a context menu, so we never want WebKit to show a default one.
}
+ virtual void clipRectChanged()
+ {
+ // Changing the clip rect doesn't affect the view hierarchy, so the plugin must be told about the change directly.
+ [(WebBaseNetscapePluginView *)platformWidget() updateAndSetWindow];
+ }
+
private:
virtual void notifyWidget(WidgetNotification notification)
{
« no previous file with comments | « Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h ('k') | Source/WebKit2/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698