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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1318283003: Organize Layout/Paint-related hooks (blink-side). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/core/loader/FrameLoaderClient.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index d6a3159e88ddd79c3f435e2acb3ab7c6e7ed4548..07880e02f1f49ed271d5d6c4d4df3a317bfd1cdb 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -1907,8 +1907,9 @@ void WebViewImpl::layout()
m_shouldDispatchFirstVisuallyNonEmptyLayout = false;
// TODO(esprehn): Move users of this callback to something
// better, the heuristic for "visually non-empty" is bad.
- // TODO(dglazkov): This should likely be a WebViewClient API.
+ // TODO(dglazkov): Remove this line after https://codereview.chromium.org/1319073003 lands.
frame->loader().client()->dispatchDidFirstVisuallyNonEmptyLayout();
+ client()->didFirstVisuallyNonEmptyLayout();
}
if (m_shouldDispatchFirstLayoutAfterFinishedParsing && frame->document()->hasFinishedParsing()) {
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698