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

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

Issue 131793003: Update remaining HTML classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove useless FINAL Created 6 years, 11 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 38
39 class HTMLMeterElement; 39 class HTMLMeterElement;
40 class RenderMeter; 40 class RenderMeter;
41 41
42 class MeterShadowElement : public HTMLDivElement { 42 class MeterShadowElement : public HTMLDivElement {
43 protected: 43 protected:
44 MeterShadowElement(Document&); 44 MeterShadowElement(Document&);
45 HTMLMeterElement* meterElement() const; 45 HTMLMeterElement* meterElement() const;
46 46
47 private: 47 private:
48 virtual bool rendererIsNeeded(const RenderStyle&); 48 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
49 }; 49 };
50 50
51 class MeterInnerElement FINAL : public MeterShadowElement { 51 class MeterInnerElement FINAL : public MeterShadowElement {
52 public: 52 public:
53 static PassRefPtr<MeterInnerElement> create(Document&); 53 static PassRefPtr<MeterInnerElement> create(Document&);
54 54
55 private: 55 private:
56 MeterInnerElement(Document&); 56 MeterInnerElement(Document&);
57 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 57 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
58 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 58 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
(...skipping 14 matching lines...) Expand all
73 void updatePseudo() { setShadowPseudoId(valuePseudoId()); } 73 void updatePseudo() { setShadowPseudoId(valuePseudoId()); }
74 74
75 private: 75 private:
76 MeterValueElement(Document&); 76 MeterValueElement(Document&);
77 const AtomicString& valuePseudoId() const; 77 const AtomicString& valuePseudoId() const;
78 }; 78 };
79 79
80 } 80 }
81 81
82 #endif // MeterShadowElement_h 82 #endif // MeterShadowElement_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlsChromiumAndroid.h ('k') | Source/core/html/shadow/ProgressShadowElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698