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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: integrate windows fix by Fady (original cl #10910228) Created 8 years, 3 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
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index f4ed16aa32154ed941c1d8b470f27c05a85e2504..cef8e27114467bc04818f29a9a3f16e15a165b2f 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -408,6 +408,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
virtual void RemoveLayer(WebKit::WebLayer* layer) {}
#endif
+ // Resets state variables related to tracking pending size and painting.
+ //
+ // We need to reset these flags when we want to repaint the contents of
+ // browser plugin in this RWH. Resetting these flags will ensure we ignore
+ // any previous pending acks that are not relevant upon repaint.
+ void ResetSizeAndRepaintPendingFlags();
+
protected:
virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698