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

Unified Diff: webkit/api/src/WebPluginContainerImpl.cpp

Issue 174513: Add isVisible parameter to WebPlugin::updateGeometry.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 | « webkit/api/public/WebPlugin.h ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/src/WebPluginContainerImpl.cpp
===================================================================
--- webkit/api/src/WebPluginContainerImpl.cpp (revision 24434)
+++ webkit/api/src/WebPluginContainerImpl.cpp (working copy)
@@ -68,14 +68,14 @@
{
Widget::setFrameRect(frameRect);
- if (!parent() || !isVisible())
+ if (!parent())
return;
IntRect windowRect, clipRect;
Vector<IntRect> cutOutRects;
calculateGeometry(frameRect, windowRect, clipRect, cutOutRects);
- m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects);
+ m_webPlugin->updateGeometry(windowRect, clipRect, cutOutRects, isVisible());
}
void WebPluginContainerImpl::paint(GraphicsContext* gc, const IntRect& damageRect)
« no previous file with comments | « webkit/api/public/WebPlugin.h ('k') | webkit/glue/webplugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698