| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 explicit MediaControlOverlayPlayButtonElement(Document&); | 142 explicit MediaControlOverlayPlayButtonElement(Document&); |
| 143 | 143 |
| 144 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 144 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 145 virtual void defaultEventHandler(Event*) OVERRIDE; | 145 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 // ---------------------------- | 148 // ---------------------------- |
| 149 | 149 |
| 150 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { | 150 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { |
| 151 public: | 151 public: |
| 152 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Docu
ment&, MediaControls*); | 152 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Docu
ment&); |
| 153 | 153 |
| 154 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } | 154 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
| 155 | 155 |
| 156 virtual void updateDisplayType() OVERRIDE; | 156 virtual void updateDisplayType() OVERRIDE; |
| 157 | 157 |
| 158 private: | 158 private: |
| 159 explicit MediaControlToggleClosedCaptionsButtonElement(Document&, MediaContr
ols*); | 159 explicit MediaControlToggleClosedCaptionsButtonElement(Document&); |
| 160 | 160 |
| 161 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 161 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 162 virtual void defaultEventHandler(Event*) OVERRIDE; | 162 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 163 }; | 163 }; |
| 164 | 164 |
| 165 // ---------------------------- | 165 // ---------------------------- |
| 166 | 166 |
| 167 class MediaControlTimelineElement FINAL : public MediaControlInputElement { | 167 class MediaControlTimelineElement FINAL : public MediaControlInputElement { |
| 168 public: | 168 public: |
| 169 static PassRefPtr<MediaControlTimelineElement> create(Document&, MediaContro
ls*); | 169 static PassRefPtr<MediaControlTimelineElement> create(Document&, MediaContro
ls*); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 255 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 256 | 256 |
| 257 IntRect m_videoDisplaySize; | 257 IntRect m_videoDisplaySize; |
| 258 float m_fontSize; | 258 float m_fontSize; |
| 259 }; | 259 }; |
| 260 | 260 |
| 261 | 261 |
| 262 } // namespace WebCore | 262 } // namespace WebCore |
| 263 | 263 |
| 264 #endif // MediaControlElements_h | 264 #endif // MediaControlElements_h |
| OLD | NEW |