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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2567943004: Rename blink::Document::ReadyState enum to DocumentReadyState. (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 67ac81e35d1c0d983528e25d022c17404db8ee3e..23c388431fa374eab5110caebf684202a4b4b2cc 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -674,8 +674,10 @@ class CORE_EXPORT Document : public ContainerNode,
}
bool inNoQuirksMode() const { return m_compatibilityMode == NoQuirksMode; }
- enum ReadyState { Loading, Interactive, Complete };
- void setReadyState(ReadyState);
+ // https://html.spec.whatwg.org/multipage/dom.html#documentreadystate
+ enum DocumentReadyState { Loading, Interactive, Complete };
+
+ void setReadyState(DocumentReadyState);
bool isLoadCompleted();
enum ParsingState { Parsing, InDOMContentLoaded, FinishedParsing };
@@ -1512,7 +1514,8 @@ class CORE_EXPORT Document : public ContainerNode,
const Member<VisitedLinkState> m_visitedLinkState;
bool m_visuallyOrdered;
- ReadyState m_readyState;
+
+ DocumentReadyState m_readyState;
ParsingState m_parsingState;
bool m_gotoAnchorNeededAfterStylesheetsLoad;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698