| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |