| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 RawDataDocumentParser::trace(visitor); | 57 RawDataDocumentParser::trace(visitor); |
| 58 } | 58 } |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 PluginDocumentParser(Document* document) | 61 PluginDocumentParser(Document* document) |
| 62 : RawDataDocumentParser(document) | 62 : RawDataDocumentParser(document) |
| 63 , m_embedElement(nullptr) | 63 , m_embedElement(nullptr) |
| 64 { | 64 { |
| 65 } | 65 } |
| 66 | 66 |
| 67 virtual void appendBytes(const char*, size_t) override; | 67 void appendBytes(const char*, size_t) override; |
| 68 | 68 |
| 69 virtual void finish() override; | 69 void finish() override; |
| 70 | 70 |
| 71 void createDocumentStructure(); | 71 void createDocumentStructure(); |
| 72 | 72 |
| 73 PluginView* pluginView() const; | 73 PluginView* pluginView() const; |
| 74 | 74 |
| 75 RefPtrWillBeMember<HTMLEmbedElement> m_embedElement; | 75 RefPtrWillBeMember<HTMLEmbedElement> m_embedElement; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 void PluginDocumentParser::createDocumentStructure() | 78 void PluginDocumentParser::createDocumentStructure() |
| 79 { | 79 { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 HTMLDocument::detach(context); | 185 HTMLDocument::detach(context); |
| 186 } | 186 } |
| 187 | 187 |
| 188 DEFINE_TRACE(PluginDocument) | 188 DEFINE_TRACE(PluginDocument) |
| 189 { | 189 { |
| 190 visitor->trace(m_pluginNode); | 190 visitor->trace(m_pluginNode); |
| 191 HTMLDocument::trace(visitor); | 191 HTMLDocument::trace(visitor); |
| 192 } | 192 } |
| 193 | 193 |
| 194 } | 194 } |
| OLD | NEW |