OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2009, 2010 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 16 matching lines...) Expand all Loading... | |
27 #if ENABLE(VIDEO) | 27 #if ENABLE(VIDEO) |
28 #include "HTMLVideoElement.h" | 28 #include "HTMLVideoElement.h" |
29 | 29 |
30 #include "Attribute.h" | 30 #include "Attribute.h" |
31 #include "CSSPropertyNames.h" | 31 #include "CSSPropertyNames.h" |
32 #include "Chrome.h" | 32 #include "Chrome.h" |
33 #include "ChromeClient.h" | 33 #include "ChromeClient.h" |
34 #include "Document.h" | 34 #include "Document.h" |
35 #include "ExceptionCode.h" | 35 #include "ExceptionCode.h" |
36 #include "Frame.h" | 36 #include "Frame.h" |
37 #include "GraphicsContext3D.h" | |
Ken Russell (switch to Gerrit)
2013/04/05 22:43:38
None of the changes in this file are needed any mo
| |
37 #include "HTMLImageLoader.h" | 38 #include "HTMLImageLoader.h" |
38 #include "HTMLNames.h" | 39 #include "HTMLNames.h" |
39 #include "HTMLParserIdioms.h" | 40 #include "HTMLParserIdioms.h" |
40 #include "Page.h" | 41 #include "Page.h" |
41 #include "RenderImage.h" | 42 #include "RenderImage.h" |
42 #include "RenderVideo.h" | 43 #include "RenderVideo.h" |
43 #include "ScriptController.h" | 44 #include "ScriptController.h" |
44 #include "Settings.h" | 45 #include "Settings.h" |
46 #include "SharedGraphicsContext3D.h" | |
45 | 47 |
46 namespace WebCore { | 48 namespace WebCore { |
47 | 49 |
48 using namespace HTMLNames; | 50 using namespace HTMLNames; |
49 | 51 |
50 inline HTMLVideoElement::HTMLVideoElement(const QualifiedName& tagName, Document * document, bool createdByParser) | 52 inline HTMLVideoElement::HTMLVideoElement(const QualifiedName& tagName, Document * document, bool createdByParser) |
51 : HTMLMediaElement(tagName, document, createdByParser) | 53 : HTMLMediaElement(tagName, document, createdByParser) |
52 { | 54 { |
53 ASSERT(hasTagName(videoTag)); | 55 ASSERT(hasTagName(videoTag)); |
54 if (document->settings()) | 56 if (document->settings()) |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
319 { | 321 { |
320 String url = stripLeadingAndTrailingHTMLSpaces(imageSourceURL()); | 322 String url = stripLeadingAndTrailingHTMLSpaces(imageSourceURL()); |
321 if (url.isEmpty()) | 323 if (url.isEmpty()) |
322 return KURL(); | 324 return KURL(); |
323 return document()->completeURL(url); | 325 return document()->completeURL(url); |
324 } | 326 } |
325 | 327 |
326 } | 328 } |
327 | 329 |
328 #endif | 330 #endif |
OLD | NEW |