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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 2198463003: DevTools: add CSS.FontsUpdated event to signify that WebFont has loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 5 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/core/inspector/InspectorCSSAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
index 6f1bd8fe55cbf68815e1c4a141a059403a24ca97..b12c36c3da2345b1e26264d5c9ce1c3bd7834298 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -709,6 +709,12 @@ void InspectorCSSAgent::mediaQueryResultChanged()
frontend()->mediaQueryResultChanged();
}
+void InspectorCSSAgent::fontsUpdated()
+{
+ flushPendingProtocolNotifications();
+ frontend()->fontsUpdated();
+}
+
void InspectorCSSAgent::activeStyleSheetsUpdated(Document* document)
{
if (m_isSettingStyleSheetText)

Powered by Google App Engine
This is Rietveld 408576698