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

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

Issue 2538403002: Revert of binding: Removes Document::wrap that must be equivalent to Node::wrap. (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 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 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 DECLARE_VIRTUAL_TRACE(); 1238 DECLARE_VIRTUAL_TRACE();
1239 1239
1240 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 1240 DECLARE_VIRTUAL_TRACE_WRAPPERS();
1241 1241
1242 AtomicString convertLocalName(const AtomicString&); 1242 AtomicString convertLocalName(const AtomicString&);
1243 1243
1244 void platformColorsChanged(); 1244 void platformColorsChanged();
1245 1245
1246 DOMTimerCoordinator* timers() final; 1246 DOMTimerCoordinator* timers() final;
1247 1247
1248 v8::Local<v8::Object> wrap(v8::Isolate*,
1249 v8::Local<v8::Object> creationContext) override;
1250 WARN_UNUSED_RESULT v8::Local<v8::Object> associateWithWrapper(
1251 v8::Isolate*,
1252 const WrapperTypeInfo*,
1253 v8::Local<v8::Object> wrapper) override;
1254
1248 HostsUsingFeatures::Value& HostsUsingFeaturesValue() { 1255 HostsUsingFeatures::Value& HostsUsingFeaturesValue() {
1249 return m_hostsUsingFeaturesValue; 1256 return m_hostsUsingFeaturesValue;
1250 } 1257 }
1251 1258
1252 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; } 1259 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; }
1253 1260
1254 bool isSecureContext( 1261 bool isSecureContext(
1255 String& errorMessage, 1262 String& errorMessage,
1256 const SecureContextCheck = StandardSecureContextCheck) const override; 1263 const SecureContextCheck = StandardSecureContextCheck) const override;
1257 bool isSecureContext( 1264 bool isSecureContext(
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1715 1722
1716 } // namespace blink 1723 } // namespace blink
1717 1724
1718 #ifndef NDEBUG 1725 #ifndef NDEBUG
1719 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1720 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1721 #endif 1728 #endif
1722 1729
1723 #endif // Document_h 1730 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.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