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

Side by Side Diff: sky/engine/core/dom/DocumentParser.h

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/dom/DocumentInit.cpp ('k') | sky/engine/core/dom/DocumentParser.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) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2005, 2006 Apple Computer, Inc. 3 * Copyright (C) 2005, 2006 Apple Computer, Inc.
4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 4 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
5 * Copyright (C) 2010 Google, Inc. 5 * Copyright (C) 2010 Google, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 17 matching lines...) Expand all
28 #include "mojo/public/cpp/system/core.h" 28 #include "mojo/public/cpp/system/core.h"
29 #include "sky/engine/platform/heap/Handle.h" 29 #include "sky/engine/platform/heap/Handle.h"
30 #include "sky/engine/wtf/Forward.h" 30 #include "sky/engine/wtf/Forward.h"
31 #include "sky/engine/wtf/RefCounted.h" 31 #include "sky/engine/wtf/RefCounted.h"
32 #include "sky/engine/wtf/text/TextPosition.h" 32 #include "sky/engine/wtf/text/TextPosition.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class Document; 36 class Document;
37 class SegmentedString; 37 class SegmentedString;
38 class HTMLDocumentParser;
39 class TextResourceDecoder;
40 38
41 class DocumentParser : public RefCounted<DocumentParser> { 39 class DocumentParser : public RefCounted<DocumentParser> {
42 public: 40 public:
43 virtual ~DocumentParser(); 41 virtual ~DocumentParser();
44 42
45 virtual void parse(mojo::ScopedDataPipeConsumerHandle, 43 virtual void parse(mojo::ScopedDataPipeConsumerHandle,
46 const base::Closure& completionCallback) = 0; 44 const base::Closure& completionCallback) = 0;
47 45
48 virtual TextPosition textPosition() const = 0; 46 virtual TextPosition textPosition() const = 0;
49 virtual void resumeAfterWaitingForImports() = 0; 47 virtual void resumeAfterWaitingForImports() = 0;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 ParserState m_state; 86 ParserState m_state;
89 87
90 // Every DocumentParser needs a pointer back to the document. 88 // Every DocumentParser needs a pointer back to the document.
91 // m_document will be 0 after the parser is stopped. 89 // m_document will be 0 after the parser is stopped.
92 Document* m_document; 90 Document* m_document;
93 }; 91 };
94 92
95 } // namespace blink 93 } // namespace blink
96 94
97 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTPARSER_H_ 95 #endif // SKY_ENGINE_CORE_DOM_DOCUMENTPARSER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/DocumentInit.cpp ('k') | sky/engine/core/dom/DocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698