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

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 2218603003: Timeline: show white overlay till page being reloaded paints (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, dropped console.error() upon paint with 0 layer Created 4 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 | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
index 8b8352cbc952be189c44c67450b0ac9ff007ef18..3b063a79df12b3769ddb0e3c1220596e9ea4d5aa 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
@@ -521,6 +521,12 @@ void WebDevToolsAgentImpl::didRemovePageOverlay(const GraphicsLayer* layer)
m_layerTreeAgent->didRemovePageOverlay(layer);
}
+void WebDevToolsAgentImpl::rootLayerCleared()
+{
+ if (m_tracingAgent)
+ m_tracingAgent->rootLayerCleared();
+}
+
void WebDevToolsAgentImpl::layerTreeViewChanged(WebLayerTreeView* layerTreeView)
{
m_layerTreeId = layerTreeView ? layerTreeView->layerTreeId() : 0;
@@ -540,6 +546,18 @@ void WebDevToolsAgentImpl::disableTracing()
m_client->disableTracing();
}
+void WebDevToolsAgentImpl::showReloadingBlanket()
+{
+ if (m_overlay)
+ m_overlay->showReloadingBlanket();
+}
+
+void WebDevToolsAgentImpl::hideReloadingBlanket()
+{
+ if (m_overlay)
+ m_overlay->hideReloadingBlanket();
+}
+
void WebDevToolsAgentImpl::setCPUThrottlingRate(double rate)
{
if (m_client)
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698