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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.h

Issue 2799093004: Enable ServerTiming support
Patch Set: Created 3 years, 8 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/frame/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 2e8092195d2007a77b03c818f595940bde56bfc0..1a4a22fd3c8ebafe00397768f56f2f8baae31fcd 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -313,6 +313,9 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
FloatSize getViewportSize(IncludeScrollbarsInRect) const;
+ void setHasLoadEventFired() { m_hasLoadEventFired = true; }
+ bool hasLoadEventFired() { return m_hasLoadEventFired; }
+
protected:
// EventTarget overrides.
void addedEventListener(const AtomicString& eventType,
@@ -343,6 +346,7 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow,
TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer;
bool m_shouldPrintWhenFinishedLoading;
+ bool m_hasLoadEventFired = false;
mutable Member<Screen> m_screen;
mutable Member<History> m_history;

Powered by Google App Engine
This is Rietveld 408576698