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

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

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, add OVERRIDEs. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderTextTrackCue.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTextTrackCue.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698