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

Side by Side Diff: Source/core/dom/DocumentParser.cpp

Issue 471423002: remove DocumentParser::startParsing() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/core/dom/DocumentParser.h ('k') | Source/core/xml/parser/XMLDocumentParser.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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void DocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder>) 58 void DocumentParser::setDecoder(PassOwnPtr<TextResourceDecoder>)
59 { 59 {
60 ASSERT_NOT_REACHED(); 60 ASSERT_NOT_REACHED();
61 } 61 }
62 62
63 TextResourceDecoder* DocumentParser::decoder() 63 TextResourceDecoder* DocumentParser::decoder()
64 { 64 {
65 return 0; 65 return 0;
66 } 66 }
67 67
68 void DocumentParser::startParsing()
69 {
70 m_state = ParsingState;
71 }
72
73 void DocumentParser::prepareToStopParsing() 68 void DocumentParser::prepareToStopParsing()
74 { 69 {
75 ASSERT(m_state == ParsingState); 70 ASSERT(m_state == ParsingState);
76 m_state = StoppingState; 71 m_state = StoppingState;
77 } 72 }
78 73
79 void DocumentParser::stopParsing() 74 void DocumentParser::stopParsing()
80 { 75 {
81 m_state = StoppedState; 76 m_state = StoppedState;
82 } 77 }
83 78
84 void DocumentParser::detach() 79 void DocumentParser::detach()
85 { 80 {
86 m_state = DetachedState; 81 m_state = DetachedState;
87 m_document = nullptr; 82 m_document = nullptr;
88 } 83 }
89 84
90 void DocumentParser::suspendScheduledTasks() 85 void DocumentParser::suspendScheduledTasks()
91 { 86 {
92 } 87 }
93 88
94 void DocumentParser::resumeScheduledTasks() 89 void DocumentParser::resumeScheduledTasks()
95 { 90 {
96 } 91 }
97 92
98 }; 93 };
99 94
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentParser.h ('k') | Source/core/xml/parser/XMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698