| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 | 27 |
| 28 #include "MediaDocument.h" | 28 #include "MediaDocument.h" |
| 29 | 29 |
| 30 #include "HTMLEmbedElement.h" | 30 #include "HTMLEmbedElement.h" |
| 31 #include "HTMLHtmlElement.h" | 31 #include "HTMLHtmlElement.h" |
| 32 #include "HTMLNames.h" | 32 #include "HTMLNames.h" |
| 33 #include "HTMLSourceElement.h" | 33 #include "HTMLSourceElement.h" |
| 34 #include "HTMLVideoElement.h" | 34 #include "HTMLVideoElement.h" |
| 35 #include "ScriptController.h" | 35 #include "bindings/v8/ScriptController.h" |
| 36 #include "core/dom/EventNames.h" | 36 #include "core/dom/EventNames.h" |
| 37 #include "core/dom/ExceptionCodePlaceholder.h" | 37 #include "core/dom/ExceptionCodePlaceholder.h" |
| 38 #include "core/dom/KeyboardEvent.h" | 38 #include "core/dom/KeyboardEvent.h" |
| 39 #include "core/dom/NodeList.h" | 39 #include "core/dom/NodeList.h" |
| 40 #include "core/dom/RawDataDocumentParser.h" | 40 #include "core/dom/RawDataDocumentParser.h" |
| 41 #include "core/loader/DocumentLoader.h" | 41 #include "core/loader/DocumentLoader.h" |
| 42 #include "core/loader/FrameLoader.h" | 42 #include "core/loader/FrameLoader.h" |
| 43 #include "core/loader/FrameLoaderClient.h" | 43 #include "core/loader/FrameLoaderClient.h" |
| 44 #include "core/page/Frame.h" | 44 #include "core/page/Frame.h" |
| 45 | 45 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 DocumentLoader* documentLoader = loader(); | 214 DocumentLoader* documentLoader = loader(); |
| 215 ASSERT(documentLoader); | 215 ASSERT(documentLoader); |
| 216 if (documentLoader) | 216 if (documentLoader) |
| 217 embedElement->setAttribute(typeAttr, documentLoader->writer()->mimeT
ype()); | 217 embedElement->setAttribute(typeAttr, documentLoader->writer()->mimeT
ype()); |
| 218 | 218 |
| 219 videoElement->parentNode()->replaceChild(embedElement, videoElement, IGN
ORE_EXCEPTION); | 219 videoElement->parentNode()->replaceChild(embedElement, videoElement, IGN
ORE_EXCEPTION); |
| 220 } | 220 } |
| 221 } | 221 } |
| 222 | 222 |
| 223 } | 223 } |
| OLD | NEW |