Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Side by Side Diff: Source/core/rendering/RenderVideo.h

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef RenderVideo_h 26 #ifndef RenderVideo_h
27 #define RenderVideo_h 27 #define RenderVideo_h
28 28
29 #include "core/rendering/RenderMedia.h" 29 #include "core/rendering/RenderMedia.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class HTMLMediaElement;
34 class HTMLVideoElement; 33 class HTMLVideoElement;
35 34
36 class RenderVideo FINAL : public RenderMedia { 35 class RenderVideo FINAL : public RenderMedia {
37 public: 36 public:
38 RenderVideo(HTMLVideoElement*); 37 RenderVideo(HTMLVideoElement*);
39 virtual ~RenderVideo(); 38 virtual ~RenderVideo();
40 39
41 IntRect videoBox() const; 40 IntRect videoBox() const;
42 41
43 static IntSize defaultSize(); 42 static IntSize defaultSize();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 bool acceleratedRenderingInUse(); 79 bool acceleratedRenderingInUse();
81 80
82 LayoutSize m_cachedImageSize; 81 LayoutSize m_cachedImageSize;
83 }; 82 };
84 83
85 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderVideo, isVideo()); 84 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderVideo, isVideo());
86 85
87 } // namespace WebCore 86 } // namespace WebCore
88 87
89 #endif // RenderVideo_h 88 #endif // RenderVideo_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumFontProvider.h ('k') | Source/core/rendering/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698