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

Issue 1229263003: Add an empty boolean to WebFrameClient::didFinishDocumentLoad (Closed)

Created:
5 years, 5 months ago by Nate Chapin
Modified:
5 years, 5 months ago
Reviewers:
dcheng
CC:
blink-reviews, dglazkov+blink, gavinp+loader_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add an empty boolean to WebFrameClient::didFinishDocumentLoad This will be used by chromium for error message policy decisions. Internally, change DocumentLoader to use an enum-based state machine. There were already bools for whether loading is in progress or whether the DocumentLoader has committed, and adding another bool for whether real data has been received seems silly. BUG=331745 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198817

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5

Patch Set 4 : empty -> documentIsEmpty #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -25 lines) Patch
M Source/core/loader/DocumentLoader.h View 6 chunks +11 lines, -5 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 9 chunks +12 lines, -14 lines 0 comments Download
M Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Nate Chapin
5 years, 5 months ago (2015-07-10 18:11:34 UTC) #2
dcheng
https://codereview.chromium.org/1229263003/diff/40001/Source/core/loader/DocumentLoader.h File Source/core/loader/DocumentLoader.h (right): https://codereview.chromium.org/1229263003/diff/40001/Source/core/loader/DocumentLoader.h#newcode105 Source/core/loader/DocumentLoader.h:105: bool isCommittedButEmpty() const { return m_state == Committed; } ...
5 years, 5 months ago (2015-07-13 20:53:56 UTC) #3
Nate Chapin
https://codereview.chromium.org/1229263003/diff/40001/Source/core/loader/DocumentLoader.h File Source/core/loader/DocumentLoader.h (right): https://codereview.chromium.org/1229263003/diff/40001/Source/core/loader/DocumentLoader.h#newcode105 Source/core/loader/DocumentLoader.h:105: bool isCommittedButEmpty() const { return m_state == Committed; } ...
5 years, 5 months ago (2015-07-13 21:13:28 UTC) #4
dcheng
https://codereview.chromium.org/1229263003/diff/40001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/1229263003/diff/40001/Source/web/FrameLoaderClientImpl.cpp#newcode376 Source/web/FrameLoaderClientImpl.cpp:376: void FrameLoaderClientImpl::dispatchDidFinishDocumentLoad(bool empty) On 2015/07/13 at 21:13:28, Nate Chapin ...
5 years, 5 months ago (2015-07-13 21:23:22 UTC) #5
Nate Chapin
On 2015/07/13 21:23:22, dcheng wrote: > https://codereview.chromium.org/1229263003/diff/40001/Source/web/FrameLoaderClientImpl.cpp > File Source/web/FrameLoaderClientImpl.cpp (right): > > https://codereview.chromium.org/1229263003/diff/40001/Source/web/FrameLoaderClientImpl.cpp#newcode376 > ...
5 years, 5 months ago (2015-07-13 21:31:22 UTC) #6
dcheng
lgtm
5 years, 5 months ago (2015-07-13 21:40:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229263003/60001
5 years, 5 months ago (2015-07-13 22:27:06 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-13 23:53:32 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198817

Powered by Google App Engine
This is Rietveld 408576698