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

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: Re-landing after fixing ASAN failure on set-parent-src-synchronously.xhtml. Created 7 years, 5 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
« no previous file with comments | « Source/WebKit/chromium/src/WebPagePopupImpl.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 AXObjectCache* axObjectCache() const; 524 AXObjectCache* axObjectCache() const;
525 void clearAXObjectCache(); 525 void clearAXObjectCache();
526 526
527 // to get visually ordered hebrew and arabic pages right 527 // to get visually ordered hebrew and arabic pages right
528 void setVisuallyOrdered(); 528 void setVisuallyOrdered();
529 bool visuallyOrdered() const { return m_visuallyOrdered; } 529 bool visuallyOrdered() const { return m_visuallyOrdered; }
530 530
531 DocumentLoader* loader() const; 531 DocumentLoader* loader() const;
532 532
533 void open(Document* ownerDocument = 0); 533 void open(Document* ownerDocument = 0);
534 void implicitOpen(); 534 PassRefPtr<DocumentParser> implicitOpen();
535 535
536 // close() is the DOM API document.close() 536 // close() is the DOM API document.close()
537 void close(); 537 void close();
538 // In some situations (see the code), we ignore document.close(). 538 // In some situations (see the code), we ignore document.close().
539 // explicitClose() bypass these checks and actually tries to close the 539 // explicitClose() bypass these checks and actually tries to close the
540 // input stream. 540 // input stream.
541 void explicitClose(); 541 void explicitClose();
542 // implicitClose() actually does the work of closing the input stream. 542 // implicitClose() actually does the work of closing the input stream.
543 void implicitClose(); 543 void implicitClose();
544 544
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 inline bool Node::isDocumentNode() const 1441 inline bool Node::isDocumentNode() const
1442 { 1442 {
1443 return this == documentInternal(); 1443 return this == documentInternal();
1444 } 1444 }
1445 1445
1446 Node* eventTargetNodeForDocument(Document*); 1446 Node* eventTargetNodeForDocument(Document*);
1447 1447
1448 } // namespace WebCore 1448 } // namespace WebCore
1449 1449
1450 #endif // Document_h 1450 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebPagePopupImpl.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698