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

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

Issue 2218603003: Timeline: show white overlay till page being reloaded paints (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No message, just blanket 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
Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
index d1c5da2cb538bc17319c98bd66b21bea764fee68..0b3e961cb38906240554e48a087dc8da9cb904c0 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.h
@@ -95,6 +95,7 @@ public:
void willAddPageOverlay(const GraphicsLayer*);
void didRemovePageOverlay(const GraphicsLayer*);
void layerTreeViewChanged(WebLayerTreeView*);
+ void rootLayerCleared();
// WebDevToolsAgent implementation.
void attach(const WebString& hostId, int sessionId) override;
@@ -120,6 +121,8 @@ private:
void pageLayoutInvalidated(bool resized) override;
void configureOverlay(bool suspended, const String& message) override;
void waitForCreateWindow(LocalFrame*) override;
+ void willReloadPage() override;
+
// InspectorSession::Client implementation.
void sendProtocolMessage(int sessionId, int callId, const String& response, const String& state) override;
@@ -153,8 +156,9 @@ private:
Member<InspectorTracingAgent> m_tracingAgent;
Member<InspectorSession> m_session;
- bool m_includeViewAgents;
int m_layerTreeId;
+ bool m_includeViewAgents;
+ bool m_tracingActive;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698