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

Issue 1922793002: Move deferred commit logic from WebViewImpl to Document. (Closed)

Created:
4 years, 8 months ago by esprehn
Modified:
4 years, 7 months ago
Reviewers:
Bryan McQuade, dglazkov
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, rwlbuis, sof, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move deferred commit logic from WebViewImpl to Document. This is more natural here, and will make it easy to add a bit that tracks if a document would be in "deferred commits" mode even if its not the main document. Then we can use that bit to trigger pipeline throttling for iframes when they're loading avoiding FOUC in a sane way. This patch doesn't change any behavior and only moves the logic. BUG=521692 TEST=DocumentLoadingRenderingTest.* Committed: https://crrev.com/e10293b755e7e28e5f82adeebee7a2f1b630a6a6 Cr-Commit-Position: refs/heads/master@{#389829}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -113 lines) Patch
M third_party/WebKit/Source/core/dom/Document.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 5 chunks +47 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 4 chunks +0 lines, -27 lines 1 comment Download
M third_party/WebKit/Source/web/WebViewImpl.h View 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 chunk +0 lines, -73 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922793002/1
4 years, 8 months ago (2016-04-26 01:18:48 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 02:45:36 UTC) #4
esprehn
This is all covered by the DocumentLoadingRendering unit test this time! Yay. :)
4 years, 8 months ago (2016-04-26 09:20:18 UTC) #7
Bryan McQuade
LGTM. Thanks for the cleanup! Adding rdsmith as FYI since this change paves the way ...
4 years, 8 months ago (2016-04-26 14:28:34 UTC) #8
dglazkov
LGTM!
4 years, 7 months ago (2016-04-26 16:49:06 UTC) #9
Randy Smith (Not in Mondays)
On 2016/04/26 14:28:34, Bryan McQuade wrote: > LGTM. Thanks for the cleanup! > > Adding ...
4 years, 7 months ago (2016-04-26 17:29:15 UTC) #10
esprehn
On 2016/04/26 at 17:29:15, rdsmith wrote: > On 2016/04/26 14:28:34, Bryan McQuade wrote: > > ...
4 years, 7 months ago (2016-04-26 18:31:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922793002/1
4 years, 7 months ago (2016-04-26 18:32:02 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-04-26 18:57:12 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 18:59:32 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e10293b755e7e28e5f82adeebee7a2f1b630a6a6
Cr-Commit-Position: refs/heads/master@{#389829}

Powered by Google App Engine
This is Rietveld 408576698