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

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

Issue 2542123002: binding: Removes Document::wrap that must be equivalent to Node::wrap. (2nd try) (Closed)
Patch Set: Fixed test failures. 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 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 DECLARE_VIRTUAL_TRACE(); 1236 DECLARE_VIRTUAL_TRACE();
1237 1237
1238 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 1238 DECLARE_VIRTUAL_TRACE_WRAPPERS();
1239 1239
1240 AtomicString convertLocalName(const AtomicString&); 1240 AtomicString convertLocalName(const AtomicString&);
1241 1241
1242 void platformColorsChanged(); 1242 void platformColorsChanged();
1243 1243
1244 DOMTimerCoordinator* timers() final; 1244 DOMTimerCoordinator* timers() final;
1245 1245
1246 v8::Local<v8::Object> wrap(v8::Isolate*,
1247 v8::Local<v8::Object> creationContext) override;
1248 WARN_UNUSED_RESULT v8::Local<v8::Object> associateWithWrapper(
1249 v8::Isolate*,
1250 const WrapperTypeInfo*,
1251 v8::Local<v8::Object> wrapper) override;
1252
1253 HostsUsingFeatures::Value& HostsUsingFeaturesValue() { 1246 HostsUsingFeatures::Value& HostsUsingFeaturesValue() {
1254 return m_hostsUsingFeaturesValue; 1247 return m_hostsUsingFeaturesValue;
1255 } 1248 }
1256 1249
1257 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; } 1250 NthIndexCache* nthIndexCache() const { return m_nthIndexCache; }
1258 1251
1259 bool isSecureContext( 1252 bool isSecureContext(
1260 String& errorMessage, 1253 String& errorMessage,
1261 const SecureContextCheck = StandardSecureContextCheck) const override; 1254 const SecureContextCheck = StandardSecureContextCheck) const override;
1262 bool isSecureContext( 1255 bool isSecureContext(
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1720 1713
1721 } // namespace blink 1714 } // namespace blink
1722 1715
1723 #ifndef NDEBUG 1716 #ifndef NDEBUG
1724 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1725 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1726 #endif 1719 #endif
1727 1720
1728 #endif // Document_h 1721 #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