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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1771043002: Separate RenderView from RenderWidget, part 4: Painting calls in the delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index f18ab1f55173ccc008da67b5ce529065b2cd53b2..2123db99c27e379d061ad222ecc423da699edb7a 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2701,7 +2701,7 @@ void RenderViewImpl::OnResize(const ResizeParams& params) {
has_scrolled_focused_editable_node_into_rect_ = false;
}
-void RenderViewImpl::DidInitiatePaint() {
+void RenderViewImpl::RenderWidgetDidCommitAndDrawCompositorFrame() {
#if defined(ENABLE_PLUGINS)
// Notify all instances that we painted. The same caveats apply as for
// ViewFlushedPaint regarding instances closing themselves, so we take
@@ -2714,7 +2714,7 @@ void RenderViewImpl::DidInitiatePaint() {
#endif
}
-void RenderViewImpl::DidFlushPaint() {
+void RenderViewImpl::RenderWidgetDidFlushPaint() {
// If the RenderWidget is closing down then early-exit, otherwise we'll crash.
// See crbug.com/112921.
if (!webview())
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698