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

Side by Side Diff: Source/core/rendering/RenderIFrame.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/RenderHTMLCanvas.h ('k') | Source/core/rendering/RenderImage.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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 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 14 matching lines...) Expand all
25 25
26 #ifndef RenderIFrame_h 26 #ifndef RenderIFrame_h
27 #define RenderIFrame_h 27 #define RenderIFrame_h
28 28
29 #include "RenderFrameBase.h" 29 #include "RenderFrameBase.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 class RenderView; 33 class RenderView;
34 34
35 class RenderIFrame : public RenderFrameBase { 35 class RenderIFrame FINAL : public RenderFrameBase {
36 public: 36 public:
37 explicit RenderIFrame(Element*); 37 explicit RenderIFrame(Element*);
38 38
39 bool flattenFrame() const; 39 bool flattenFrame() const;
40 bool isSeamless() const; 40 bool isSeamless() const;
41 41
42 private: 42 private:
43 virtual LayoutUnit minPreferredLogicalWidth() const OVERRIDE; 43 virtual LayoutUnit minPreferredLogicalWidth() const OVERRIDE;
44 virtual LayoutUnit maxPreferredLogicalWidth() const OVERRIDE; 44 virtual LayoutUnit maxPreferredLogicalWidth() const OVERRIDE;
45 45
(...skipping 25 matching lines...) Expand all
71 return static_cast<const RenderIFrame*>(object); 71 return static_cast<const RenderIFrame*>(object);
72 } 72 }
73 73
74 // This will catch anyone doing an unnecessary cast. 74 // This will catch anyone doing an unnecessary cast.
75 void toRenderIFrame(const RenderIFrame*); 75 void toRenderIFrame(const RenderIFrame*);
76 76
77 77
78 } // namespace WebCore 78 } // namespace WebCore
79 79
80 #endif // RenderIFrame_h 80 #endif // RenderIFrame_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderHTMLCanvas.h ('k') | Source/core/rendering/RenderImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698