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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2881323002: Support Document constructor. (Closed)
Patch Set: . Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 public ExecutionContext, 254 public ExecutionContext,
255 public SynchronousMutationNotifier, 255 public SynchronousMutationNotifier,
256 public Supplementable<Document> { 256 public Supplementable<Document> {
257 DEFINE_WRAPPERTYPEINFO(); 257 DEFINE_WRAPPERTYPEINFO();
258 USING_GARBAGE_COLLECTED_MIXIN(Document); 258 USING_GARBAGE_COLLECTED_MIXIN(Document);
259 259
260 public: 260 public:
261 static Document* Create(const DocumentInit& initializer = DocumentInit()) { 261 static Document* Create(const DocumentInit& initializer = DocumentInit()) {
262 return new Document(initializer); 262 return new Document(initializer);
263 } 263 }
264 static Document* Create(const Document&);
dominicc (has gone to gerrit) 2017/05/17 05:50:33 Maybe give this a more detailed name, or at least
tkent 2017/05/17 08:42:18 It seems binding generator doesn't have a capabili
264 ~Document() override; 265 ~Document() override;
265 266
266 MediaQueryMatcher& GetMediaQueryMatcher(); 267 MediaQueryMatcher& GetMediaQueryMatcher();
267 268
268 void MediaQueryAffectingValueChanged(); 269 void MediaQueryAffectingValueChanged();
269 270
270 using SecurityContext::GetSecurityOrigin; 271 using SecurityContext::GetSecurityOrigin;
271 using SecurityContext::GetContentSecurityPolicy; 272 using SecurityContext::GetContentSecurityPolicy;
272 using TreeScope::getElementById; 273 using TreeScope::getElementById;
273 274
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1745 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1746 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1746 1747
1747 } // namespace blink 1748 } // namespace blink
1748 1749
1749 #ifndef NDEBUG 1750 #ifndef NDEBUG
1750 // Outside the WebCore namespace for ease of invocation from gdb. 1751 // Outside the WebCore namespace for ease of invocation from gdb.
1751 CORE_EXPORT void showLiveDocumentInstances(); 1752 CORE_EXPORT void showLiveDocumentInstances();
1752 #endif 1753 #endif
1753 1754
1754 #endif // Document_h 1755 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698