| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #if ENABLE(VIDEO) | 29 #if ENABLE(VIDEO) |
| 30 | 30 |
| 31 #include "RenderMedia.h" | 31 #include "RenderMedia.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 class HTMLMediaElement; | 35 class HTMLMediaElement; |
| 36 class HTMLVideoElement; | 36 class HTMLVideoElement; |
| 37 | 37 |
| 38 class RenderVideo : public RenderMedia { | 38 class RenderVideo FINAL : public RenderMedia { |
| 39 public: | 39 public: |
| 40 RenderVideo(HTMLVideoElement*); | 40 RenderVideo(HTMLVideoElement*); |
| 41 virtual ~RenderVideo(); | 41 virtual ~RenderVideo(); |
| 42 | 42 |
| 43 IntRect videoBox() const; | 43 IntRect videoBox() const; |
| 44 | 44 |
| 45 static IntSize defaultSize(); | 45 static IntSize defaultSize(); |
| 46 | 46 |
| 47 bool supportsAcceleratedRendering() const; | 47 bool supportsAcceleratedRendering() const; |
| 48 void acceleratedRenderingStateChanged(); | 48 void acceleratedRenderingStateChanged(); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 return static_cast<RenderVideo*>(object); | 88 return static_cast<RenderVideo*>(object); |
| 89 } | 89 } |
| 90 | 90 |
| 91 // This will catch anyone doing an unnecessary cast. | 91 // This will catch anyone doing an unnecessary cast. |
| 92 void toRenderVideo(const RenderVideo*); | 92 void toRenderVideo(const RenderVideo*); |
| 93 | 93 |
| 94 } // namespace WebCore | 94 } // namespace WebCore |
| 95 | 95 |
| 96 #endif | 96 #endif |
| 97 #endif // RenderVideo_h | 97 #endif // RenderVideo_h |
| OLD | NEW |