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

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

Issue 13844022: Remove code to support Objective-C bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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 r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 bool xmlStandalone() const { return m_xmlStandalone == Standalone; } 364 bool xmlStandalone() const { return m_xmlStandalone == Standalone; }
365 StandaloneStatus xmlStandaloneStatus() const { return static_cast<Standalone Status>(m_xmlStandalone); } 365 StandaloneStatus xmlStandaloneStatus() const { return static_cast<Standalone Status>(m_xmlStandalone); }
366 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; } 366 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; }
367 367
368 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } // read-only property, only to be set from XMLDocumentParser 368 void setXMLEncoding(const String& encoding) { m_xmlEncoding = encoding; } // read-only property, only to be set from XMLDocumentParser
369 void setXMLVersion(const String&, ExceptionCode&); 369 void setXMLVersion(const String&, ExceptionCode&);
370 void setXMLStandalone(bool, ExceptionCode&); 370 void setXMLStandalone(bool, ExceptionCode&);
371 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; } 371 void setHasXMLDeclaration(bool hasXMLDeclaration) { m_hasXMLDeclaration = ha sXMLDeclaration ? 1 : 0; }
372 372
373 String documentURI() const { return m_documentURI; } 373 String documentURI() const { return m_documentURI; }
374 void setDocumentURI(const String&);
375 374
376 virtual KURL baseURI() const; 375 virtual KURL baseURI() const;
377 376
378 String webkitVisibilityState() const; 377 String webkitVisibilityState() const;
379 bool webkitHidden() const; 378 bool webkitHidden() const;
380 void dispatchVisibilityStateChangeEvent(); 379 void dispatchVisibilityStateChangeEvent();
381 380
382 DOMSecurityPolicy* securityPolicy(); 381 DOMSecurityPolicy* securityPolicy();
383 382
384 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&); 383 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&);
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove r m_baseURL (but not m_baseElementURL). 1225 KURL m_baseURLOverride; // An alternative base URL that takes precedence ove r m_baseURL (but not m_baseElementURL).
1227 KURL m_baseElementURL; // The URL set by the <base> element. 1226 KURL m_baseElementURL; // The URL set by the <base> element.
1228 KURL m_cookieURL; // The URL to use for cookie access. 1227 KURL m_cookieURL; // The URL to use for cookie access.
1229 KURL m_firstPartyForCookies; // The policy URL for third-party cookie blocki ng. 1228 KURL m_firstPartyForCookies; // The policy URL for third-party cookie blocki ng.
1230 1229
1231 // Document.documentURI: 1230 // Document.documentURI:
1232 // Although URL-like, Document.documentURI can actually be set to any 1231 // Although URL-like, Document.documentURI can actually be set to any
1233 // string by content. Document.documentURI affects m_baseURL unless the 1232 // string by content. Document.documentURI affects m_baseURL unless the
1234 // document contains a <base> element, in which case the <base> element 1233 // document contains a <base> element, in which case the <base> element
1235 // takes precedence. 1234 // takes precedence.
1236 //
1237 // This property is read-only from JavaScript, but writable from Objective C .
1238 String m_documentURI; 1235 String m_documentURI;
1239 1236
1240 String m_baseTarget; 1237 String m_baseTarget;
1241 1238
1242 RefPtr<DocumentType> m_docType; 1239 RefPtr<DocumentType> m_docType;
1243 OwnPtr<DOMImplementation> m_implementation; 1240 OwnPtr<DOMImplementation> m_implementation;
1244 1241
1245 RefPtr<CSSStyleSheet> m_elemSheet; 1242 RefPtr<CSSStyleSheet> m_elemSheet;
1246 1243
1247 bool m_printing; 1244 bool m_printing;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 trackForDebugging(); 1521 trackForDebugging();
1525 #endif 1522 #endif
1526 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1523 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1527 } 1524 }
1528 1525
1529 Node* eventTargetNodeForDocument(Document*); 1526 Node* eventTargetNodeForDocument(Document*);
1530 1527
1531 } // namespace WebCore 1528 } // namespace WebCore
1532 1529
1533 #endif // Document_h 1530 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698