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

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

Issue 17640007: Refactoring: Simplify DocumentWriter by reorganizing its lifetime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a build breakage Created 7 years, 6 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 AXObjectCache* axObjectCache() const; 523 AXObjectCache* axObjectCache() const;
524 void clearAXObjectCache(); 524 void clearAXObjectCache();
525 525
526 // to get visually ordered hebrew and arabic pages right 526 // to get visually ordered hebrew and arabic pages right
527 void setVisuallyOrdered(); 527 void setVisuallyOrdered();
528 bool visuallyOrdered() const { return m_visuallyOrdered; } 528 bool visuallyOrdered() const { return m_visuallyOrdered; }
529 529
530 DocumentLoader* loader() const; 530 DocumentLoader* loader() const;
531 531
532 void open(Document* ownerDocument = 0); 532 void open(Document* ownerDocument = 0);
533 void implicitOpen(); 533 PassRefPtr<DocumentParser> implicitOpen();
534 534
535 // close() is the DOM API document.close() 535 // close() is the DOM API document.close()
536 void close(); 536 void close();
537 // In some situations (see the code), we ignore document.close(). 537 // In some situations (see the code), we ignore document.close().
538 // explicitClose() bypass these checks and actually tries to close the 538 // explicitClose() bypass these checks and actually tries to close the
539 // input stream. 539 // input stream.
540 void explicitClose(); 540 void explicitClose();
541 // implicitClose() actually does the work of closing the input stream. 541 // implicitClose() actually does the work of closing the input stream.
542 void implicitClose(); 542 void implicitClose();
543 543
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 inline bool Node::isDocumentNode() const 1445 inline bool Node::isDocumentNode() const
1446 { 1446 {
1447 return this == documentInternal(); 1447 return this == documentInternal();
1448 } 1448 }
1449 1449
1450 Node* eventTargetNodeForDocument(Document*); 1450 Node* eventTargetNodeForDocument(Document*);
1451 1451
1452 } // namespace WebCore 1452 } // namespace WebCore
1453 1453
1454 #endif // Document_h 1454 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698