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

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

Issue 8498036: Delay UpdateRect until the SwapBuffers callback when accelerated compositing is on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: allow multiple update messages in flight Created 9 years 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.h
diff --git a/content/browser/renderer_host/render_widget_host.h b/content/browser/renderer_host/render_widget_host.h
index d25876f961e12571e0e11d27f4c7d30ee40aa1e3..716e5b82a7417f14d79353d50e11330964983e7a 100644
--- a/content/browser/renderer_host/render_widget_host.h
+++ b/content/browser/renderer_host/render_widget_host.h
@@ -450,11 +450,9 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Listener,
// locked.
bool GotResponseToLockMouseRequest(bool allowed);
-#if defined(OS_MACOSX) || defined(UI_COMPOSITOR_IMAGE_TRANSPORT)
// Called by the view in response to AcceleratedSurfaceBuffersSwapped.
static void AcknowledgeSwapBuffers(int32 route_id, int gpu_host_id);
static void AcknowledgePostSubBuffer(int32 route_id, int gpu_host_id);
-#endif
protected:
// Internal implementation of the public Forward*Event() methods.
@@ -558,6 +556,7 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Listener,
WebKit::WebTextDirection text_direction_hint);
void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
+ void OnMsgUpdateIsDelayed();
void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type,
bool processed);
virtual void OnMsgFocus();
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/browser/renderer_host/render_widget_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698