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

Unified Diff: Source/core/html/shadow/MediaControlElementTypes.h

Issue 145503008: Clean up MediaControlElement virtual and unused functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControlElementTypes.h
diff --git a/Source/core/html/shadow/MediaControlElementTypes.h b/Source/core/html/shadow/MediaControlElementTypes.h
index c998baa9e7e2864b56a3042fee182aab34a3d4f4..e80ee79bc3794e4c05919ff6aa37af799de54489 100644
--- a/Source/core/html/shadow/MediaControlElementTypes.h
+++ b/Source/core/html/shadow/MediaControlElementTypes.h
@@ -73,21 +73,19 @@ MediaControlElementType mediaControlElementType(Node*);
class MediaControlElement {
public:
- virtual void hide();
- virtual void show();
- virtual bool isShowing() const;
+ void hide();
+ void show();
- virtual MediaControlElementType displayType() { return m_displayType; }
- virtual const AtomicString& shadowPseudoId() const = 0;
+ MediaControlElementType displayType() { return m_displayType; }
- virtual void setMediaController(MediaControllerInterface* controller) { m_mediaController = controller; }
+ void setMediaController(MediaControllerInterface* controller) { m_mediaController = controller; }
MediaControllerInterface* mediaController() const { return m_mediaController; }
protected:
explicit MediaControlElement(MediaControlElementType, HTMLElement*);
~MediaControlElement() { }
- virtual void setDisplayType(MediaControlElementType);
+ void setDisplayType(MediaControlElementType);
private:
MediaControllerInterface* m_mediaController;
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698