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

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

Issue 2788893004: Renaming gpu swap buffer callbacks and the screenshot latency component. (Closed)
Patch Set: Updating android compositor Created 3 years, 8 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 8adab6b820dee2bf94c9bfbe229912ead5f63fa6..6ddec228f9e93b6334de84d64d27c4ad16a6e548 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -494,14 +494,13 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
return max_size_for_auto_resize_;
}
- void FrameSwapped(const ui::LatencyInfo& latency_info);
void DidReceiveRendererFrame();
// Returns the ID that uniquely describes this component to the latency
// subsystem.
int64_t GetLatencyComponentId() const;
- static void CompositorFrameDrawn(
+ static void OnGpuSwapBuffersCompleted(
const std::vector<ui::LatencyInfo>& latency_info);
// Don't check whether we expected a resize ack during layout tests.
@@ -626,6 +625,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// NotifyRendererResponsive.
void RendererIsResponsive();
+ void OnGpuSwapBuffersCompletedInternal(const ui::LatencyInfo& latency_info);
+
// IPC message handlers
void OnRenderProcessGone(int status, int error_code);
void OnClose();

Powered by Google App Engine
This is Rietveld 408576698