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

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

Issue 2554813002: Make HTMLParserScheduler inherit from ActiveDOMObject
Patch Set: Created 4 years 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 client->notifyParserStopped(); 74 client->notifyParserStopped();
75 } 75 }
76 } 76 }
77 77
78 void DocumentParser::detach() { 78 void DocumentParser::detach() {
79 m_state = DetachedState; 79 m_state = DetachedState;
80 m_document = nullptr; 80 m_document = nullptr;
81 } 81 }
82 82
83 void DocumentParser::suspendScheduledTasks() {}
84
85 void DocumentParser::resumeScheduledTasks() {}
86
87 void DocumentParser::addClient(DocumentParserClient* client) { 83 void DocumentParser::addClient(DocumentParserClient* client) {
88 m_clients.add(client); 84 m_clients.add(client);
89 } 85 }
90 86
91 void DocumentParser::removeClient(DocumentParserClient* client) { 87 void DocumentParser::removeClient(DocumentParserClient* client) {
92 m_clients.remove(client); 88 m_clients.remove(client);
93 } 89 }
94 90
95 } // namespace blink 91 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentParser.h ('k') | third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698