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

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

Issue 237233002: Move 'embeds' / 'plugins' attributes from HTMLDocument to Document (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Attempt to fix Windows build Created 6 years, 8 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 385
386 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionState&); 386 PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionState&);
387 387
388 PassRefPtr<HTMLCollection> images(); 388 PassRefPtr<HTMLCollection> images();
389 PassRefPtr<HTMLCollection> embeds(); 389 PassRefPtr<HTMLCollection> embeds();
390 PassRefPtr<HTMLCollection> applets(); 390 PassRefPtr<HTMLCollection> applets();
391 PassRefPtr<HTMLCollection> links(); 391 PassRefPtr<HTMLCollection> links();
392 PassRefPtr<HTMLCollection> forms(); 392 PassRefPtr<HTMLCollection> forms();
393 PassRefPtr<HTMLCollection> anchors(); 393 PassRefPtr<HTMLCollection> anchors();
394 PassRefPtr<HTMLCollection> scripts(); 394 PassRefPtr<HTMLCollection> scripts();
395 PassRefPtr<HTMLCollection> allForBinding(); 395 PassRefPtr<HTMLAllCollection> allForBinding();
396 PassRefPtr<HTMLCollection> all(); 396 PassRefPtr<HTMLAllCollection> all();
397 397
398 PassRefPtr<HTMLCollection> windowNamedItems(const AtomicString& name); 398 PassRefPtr<HTMLCollection> windowNamedItems(const AtomicString& name);
399 PassRefPtr<HTMLCollection> documentNamedItems(const AtomicString& name); 399 PassRefPtr<HTMLCollection> documentNamedItems(const AtomicString& name);
400 400
401 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; } 401 bool isHTMLDocument() const { return m_documentClasses & HTMLDocumentClass; }
402 bool isXHTMLDocument() const { return m_documentClasses & XHTMLDocumentClass ; } 402 bool isXHTMLDocument() const { return m_documentClasses & XHTMLDocumentClass ; }
403 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; } 403 bool isXMLDocument() const { return m_documentClasses & XMLDocumentClass; }
404 bool isImageDocument() const { return m_documentClasses & ImageDocumentClass ; } 404 bool isImageDocument() const { return m_documentClasses & ImageDocumentClass ; }
405 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; } 405 bool isSVGDocument() const { return m_documentClasses & SVGDocumentClass; }
406 bool isPluginDocument() const { return m_documentClasses & PluginDocumentCla ss; } 406 bool isPluginDocument() const { return m_documentClasses & PluginDocumentCla ss; }
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 inline bool Node::isDocumentNode() const 1428 inline bool Node::isDocumentNode() const
1429 { 1429 {
1430 return this == document(); 1430 return this == document();
1431 } 1431 }
1432 1432
1433 Node* eventTargetNodeForDocument(Document*); 1433 Node* eventTargetNodeForDocument(Document*);
1434 1434
1435 } // namespace WebCore 1435 } // namespace WebCore
1436 1436
1437 #endif // Document_h 1437 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Document/embeds-non-html-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698