| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010. Adam Barth. All rights reserved. | 2 * Copyright (C) 2010. Adam Barth. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #include "core/loader/TextResourceDecoderBuilder.h" | 32 #include "core/loader/TextResourceDecoderBuilder.h" |
| 33 #include "platform/heap/Handle.h" | 33 #include "platform/heap/Handle.h" |
| 34 #include "wtf/RefCounted.h" | 34 #include "wtf/RefCounted.h" |
| 35 #include "wtf/text/WTFString.h" | 35 #include "wtf/text/WTFString.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class Document; | 39 class Document; |
| 40 class DocumentParser; | 40 class DocumentParser; |
| 41 class LocalFrame; | |
| 42 class KURL; | |
| 43 class SecurityOrigin; | |
| 44 class TextResourceDecoder; | |
| 45 | 41 |
| 46 class DocumentWriter : public RefCountedWillBeGarbageCollectedFinalized<Document
Writer> { | 42 class DocumentWriter : public RefCountedWillBeGarbageCollectedFinalized<Document
Writer> { |
| 47 WTF_MAKE_NONCOPYABLE(DocumentWriter); | 43 WTF_MAKE_NONCOPYABLE(DocumentWriter); |
| 48 public: | 44 public: |
| 49 static PassRefPtrWillBeRawPtr<DocumentWriter> create(Document*, const Atomic
String& mimeType = emptyAtom, const AtomicString& encoding = emptyAtom); | 45 static PassRefPtrWillBeRawPtr<DocumentWriter> create(Document*, const Atomic
String& mimeType = emptyAtom, const AtomicString& encoding = emptyAtom); |
| 50 | 46 |
| 51 ~DocumentWriter(); | 47 ~DocumentWriter(); |
| 52 void trace(Visitor*); | 48 void trace(Visitor*); |
| 53 | 49 |
| 54 void end(); | 50 void end(); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 74 | 70 |
| 75 RawPtrWillBeMember<Document> m_document; | 71 RawPtrWillBeMember<Document> m_document; |
| 76 TextResourceDecoderBuilder m_decoderBuilder; | 72 TextResourceDecoderBuilder m_decoderBuilder; |
| 77 | 73 |
| 78 RefPtrWillBeMember<DocumentParser> m_parser; | 74 RefPtrWillBeMember<DocumentParser> m_parser; |
| 79 }; | 75 }; |
| 80 | 76 |
| 81 } // namespace blink | 77 } // namespace blink |
| 82 | 78 |
| 83 #endif // DocumentWriter_h | 79 #endif // DocumentWriter_h |
| OLD | NEW |