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

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

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . Created 3 years, 9 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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index ba4c87caee78c6ae2f5b959121632fa4274f6141..0f292bcddf1dfedc592557c6232668245c601f13 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -379,12 +379,8 @@ class CORE_EXPORT Document : public ContainerNode,
m_hasXMLDeclaration = hasXMLDeclaration ? 1 : 0;
}
- String origin() const { return getSecurityOrigin()->toString(); }
- String suborigin() const {
- return getSecurityOrigin()->hasSuborigin()
- ? getSecurityOrigin()->suborigin()->name()
- : String();
- }
+ String origin() const;
+ String suborigin() const;
String visibilityState() const;
PageVisibilityState pageVisibilityState() const;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8BindingForTesting.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698