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

Side by Side Diff: Source/core/rendering/RenderQuote.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/RenderProgress.h ('k') | Source/core/rendering/RenderRegionSet.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) 2011 Nokia Inc. All rights reserved. 2 * Copyright (C) 2011 Nokia Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 13 matching lines...) Expand all
24 24
25 #include "QuotesData.h" 25 #include "QuotesData.h"
26 #include "RenderStyle.h" 26 #include "RenderStyle.h"
27 #include "RenderStyleConstants.h" 27 #include "RenderStyleConstants.h"
28 #include "RenderText.h" 28 #include "RenderText.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class Document; 32 class Document;
33 33
34 class RenderQuote : public RenderText { 34 class RenderQuote FINAL : public RenderText {
35 public: 35 public:
36 RenderQuote(Document*, const QuoteType); 36 RenderQuote(Document*, const QuoteType);
37 virtual ~RenderQuote(); 37 virtual ~RenderQuote();
38 void attachQuote(); 38 void attachQuote();
39 39
40 private: 40 private:
41 void detachQuote(); 41 void detachQuote();
42 42
43 virtual void willBeDestroyed() OVERRIDE; 43 virtual void willBeDestroyed() OVERRIDE;
44 virtual const char* renderName() const OVERRIDE { return "RenderQuote"; }; 44 virtual const char* renderName() const OVERRIDE { return "RenderQuote"; };
(...skipping 18 matching lines...) Expand all
63 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isQuote()); 63 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isQuote());
64 return static_cast<RenderQuote*>(object); 64 return static_cast<RenderQuote*>(object);
65 } 65 }
66 66
67 // This will catch anyone doing an unnecessary cast. 67 // This will catch anyone doing an unnecessary cast.
68 void toRenderQuote(const RenderQuote*); 68 void toRenderQuote(const RenderQuote*);
69 69
70 } // namespace WebCore 70 } // namespace WebCore
71 71
72 #endif // RenderQuote_h 72 #endif // RenderQuote_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderProgress.h ('k') | Source/core/rendering/RenderRegionSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698