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

Issue 2218603003: Timeline: show white overlay till page being reloaded paints (Closed)

Created:
4 years, 4 months ago by caseq
Modified:
3 years, 10 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, jam, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, darin-cc_chromium.org, kinuko+watch, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Timeline: show white overlay till page being reloaded paints This is so that the reload progress is better seen both interactively and on the screenshots -- otherwise the old content of the page being reloaded stays on the screen and makes screenshots confusing. Committed: https://crrev.com/979f3764fb511923218a33f79acae484c4edbe29 Cr-Commit-Position: refs/heads/master@{#413304}

Patch Set 1 : cleanup #

Total comments: 2

Patch Set 2 : No message, just blanket #

Total comments: 2

Patch Set 3 : No message, just blanket #

Patch Set 4 : Move all logic into InspectorTracingAgent, get proper reload signal from II #

Patch Set 5 : rebased, dropped console.error() upon paint with 0 layer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -14 lines) Patch
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorOverlayPage.html View 1 2 3 4 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTracingAgent.h View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTracingAgent.cpp View 1 2 3 4 chunks +33 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlay.cpp View 1 2 3 4 4 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (25 generated)
caseq
4 years, 4 months ago (2016-08-05 22:01:45 UTC) #4
dgozman
Can we have a screenshot? And a bug? https://codereview.chromium.org/2218603003/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2218603003/diff/40001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode3835 third_party/WebKit/Source/core/inspector/browser_protocol.json:3835: { ...
4 years, 4 months ago (2016-08-08 16:28:00 UTC) #5
caseq
On 2016/08/08 16:28:00, dgozman wrote: > Can we have a screenshot? And a bug? > ...
4 years, 4 months ago (2016-08-08 17:49:16 UTC) #6
caseq
Simplified to remove message and any explicit mentioning in the protocol. Dmitry, here's a screenshot ...
4 years, 4 months ago (2016-08-09 23:32:57 UTC) #7
dgozman
https://codereview.chromium.org/2218603003/diff/60001/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp (right): https://codereview.chromium.org/2218603003/diff/60001/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp#newcode421 third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp:421: m_client->willReloadPage(); What if we reload not through the protocol? ...
4 years, 4 months ago (2016-08-10 21:28:37 UTC) #8
caseq
PTAL -- as discussed with Pavel, moved all logic into InspectorTracingAgent, plumbing instrumentation signals there ...
4 years, 4 months ago (2016-08-11 01:52:44 UTC) #10
dgozman
lgtm. Thanks!
4 years, 4 months ago (2016-08-11 01:57:19 UTC) #11
dgozman
Patch description is wrong though.
4 years, 4 months ago (2016-08-11 01:57:34 UTC) #12
caseq
On 2016/08/11 01:57:34, dgozman wrote: > Patch description is wrong though. Ouch, thanks for spotting!
4 years, 4 months ago (2016-08-11 01:58:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218603003/120001
4 years, 4 months ago (2016-08-11 01:59:57 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/275803)
4 years, 4 months ago (2016-08-11 03:36:26 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218603003/140001
4 years, 4 months ago (2016-08-18 23:14:48 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/276646)
4 years, 4 months ago (2016-08-19 02:57:39 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218603003/140001
4 years, 4 months ago (2016-08-19 17:33:46 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/277229)
4 years, 4 months ago (2016-08-19 20:35:14 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218603003/140001
4 years, 4 months ago (2016-08-19 20:36:33 UTC) #39
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 4 months ago (2016-08-20 01:34:42 UTC) #41
commit-bot: I haz the power
4 years, 4 months ago (2016-08-20 01:36:18 UTC) #43
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/979f3764fb511923218a33f79acae484c4edbe29
Cr-Commit-Position: refs/heads/master@{#413304}

Powered by Google App Engine
This is Rietveld 408576698