| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |