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

Side by Side Diff: Source/core/html/shadow/MediaControlElements.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
« no previous file with comments | « Source/core/html/shadow/DetailsMarkerControl.h ('k') | Source/core/html/shadow/MediaControls.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) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple 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 * 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 }; 196 };
197 197
198 // ---------------------------- 198 // ----------------------------
199 199
200 class MediaControlFullscreenButtonElement FINAL : public MediaControlInputElemen t { 200 class MediaControlFullscreenButtonElement FINAL : public MediaControlInputElemen t {
201 public: 201 public:
202 static PassRefPtr<MediaControlFullscreenButtonElement> create(Document&); 202 static PassRefPtr<MediaControlFullscreenButtonElement> create(Document&);
203 203
204 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } 204 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
205 205
206 virtual void setIsFullscreen(bool); 206 void setIsFullscreen(bool);
207 207
208 private: 208 private:
209 explicit MediaControlFullscreenButtonElement(Document&); 209 explicit MediaControlFullscreenButtonElement(Document&);
210 210
211 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 211 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
212 virtual void defaultEventHandler(Event*) OVERRIDE; 212 virtual void defaultEventHandler(Event*) OVERRIDE;
213 }; 213 };
214 214
215 // ---------------------------- 215 // ----------------------------
216 216
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document&); 252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document&);
253 253
254 void updateDisplay(); 254 void updateDisplay();
255 void updateSizes(bool forceUpdate = false); 255 void updateSizes(bool forceUpdate = false);
256 static const AtomicString& textTrackContainerElementShadowPseudoId(); 256 static const AtomicString& textTrackContainerElementShadowPseudoId();
257 257
258 private: 258 private:
259 explicit MediaControlTextTrackContainerElement(Document&); 259 explicit MediaControlTextTrackContainerElement(Document&);
260 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 260 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
261 261
262 virtual RenderObject* createRenderer(RenderStyle*); 262 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
263 263
264 IntRect m_videoDisplaySize; 264 IntRect m_videoDisplaySize;
265 float m_fontSize; 265 float m_fontSize;
266 }; 266 };
267 267
268 268
269 } // namespace WebCore 269 } // namespace WebCore
270 270
271 #endif // MediaControlElements_h 271 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DetailsMarkerControl.h ('k') | Source/core/html/shadow/MediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698