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

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

Issue 176883020: Remove MediaControls::showVolumeSlider() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 class MediaControlPanelMuteButtonElement FINAL : public MediaControlMuteButtonEl ement { 103 class MediaControlPanelMuteButtonElement FINAL : public MediaControlMuteButtonEl ement {
104 public: 104 public:
105 static PassRefPtr<MediaControlPanelMuteButtonElement> create(Document&, Medi aControls*); 105 static PassRefPtr<MediaControlPanelMuteButtonElement> create(Document&, Medi aControls*);
106 106
107 virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; } 107 virtual bool willRespondToMouseMoveEvents() OVERRIDE { return true; }
108 108
109 private: 109 private:
110 explicit MediaControlPanelMuteButtonElement(Document&, MediaControls*); 110 explicit MediaControlPanelMuteButtonElement(Document&, MediaControls*);
111 111
112 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 112 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
113 virtual void defaultEventHandler(Event*) OVERRIDE;
114
115 MediaControls* m_controls;
116 }; 113 };
117 114
118 // ---------------------------- 115 // ----------------------------
119 116
120 class MediaControlPlayButtonElement FINAL : public MediaControlInputElement { 117 class MediaControlPlayButtonElement FINAL : public MediaControlInputElement {
121 public: 118 public:
122 static PassRefPtr<MediaControlPlayButtonElement> create(Document&); 119 static PassRefPtr<MediaControlPlayButtonElement> create(Document&);
123 120
124 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } 121 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; }
125 virtual void updateDisplayType() OVERRIDE; 122 virtual void updateDisplayType() OVERRIDE;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 247 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
251 248
252 IntRect m_videoDisplaySize; 249 IntRect m_videoDisplaySize;
253 float m_fontSize; 250 float m_fontSize;
254 }; 251 };
255 252
256 253
257 } // namespace WebCore 254 } // namespace WebCore
258 255
259 #endif // MediaControlElements_h 256 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElements.cpp » ('j') | Source/core/html/shadow/MediaControlElements.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698