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

Side by Side Diff: Source/core/html/shadow/ProgressShadowElement.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 27 matching lines...) Expand all
38 namespace blink { 38 namespace blink {
39 39
40 class HTMLProgressElement; 40 class HTMLProgressElement;
41 41
42 class ProgressShadowElement : public HTMLDivElement { 42 class ProgressShadowElement : public HTMLDivElement {
43 public: 43 public:
44 explicit ProgressShadowElement(Document&); 44 explicit ProgressShadowElement(Document&);
45 HTMLProgressElement* progressElement() const; 45 HTMLProgressElement* progressElement() const;
46 46
47 protected: 47 protected:
48 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 48 virtual bool rendererIsNeeded(const RenderStyle&) override;
49 }; 49 };
50 50
51 class ProgressInnerElement FINAL : public ProgressShadowElement { 51 class ProgressInnerElement final : public ProgressShadowElement {
52 public: 52 public:
53 DECLARE_NODE_FACTORY(ProgressInnerElement); 53 DECLARE_NODE_FACTORY(ProgressInnerElement);
54 54
55 private: 55 private:
56 explicit ProgressInnerElement(Document&); 56 explicit ProgressInnerElement(Document&);
57 57
58 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 58 virtual RenderObject* createRenderer(RenderStyle*) override;
59 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 59 virtual bool rendererIsNeeded(const RenderStyle&) override;
60 }; 60 };
61 61
62 class ProgressBarElement FINAL : public ProgressShadowElement { 62 class ProgressBarElement final : public ProgressShadowElement {
63 public: 63 public:
64 DECLARE_NODE_FACTORY(ProgressBarElement); 64 DECLARE_NODE_FACTORY(ProgressBarElement);
65 65
66 private: 66 private:
67 explicit ProgressBarElement(Document&); 67 explicit ProgressBarElement(Document&);
68 }; 68 };
69 69
70 class ProgressValueElement FINAL : public ProgressShadowElement { 70 class ProgressValueElement final : public ProgressShadowElement {
71 public: 71 public:
72 DECLARE_NODE_FACTORY(ProgressValueElement); 72 DECLARE_NODE_FACTORY(ProgressValueElement);
73 void setWidthPercentage(double); 73 void setWidthPercentage(double);
74 74
75 private: 75 private:
76 explicit ProgressValueElement(Document&); 76 explicit ProgressValueElement(Document&);
77 }; 77 };
78 78
79 } 79 }
80 80
81 #endif // ProgressShadowElement_h 81 #endif // ProgressShadowElement_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.h ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698