| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 // ---------------------------- | 134 // ---------------------------- |
| 135 | 135 |
| 136 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme
nt { | 136 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme
nt { |
| 137 public: | 137 public: |
| 138 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(Document&); | 138 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(Document&); |
| 139 | 139 |
| 140 virtual void updateDisplayType() OVERRIDE; | 140 virtual void updateDisplayType() OVERRIDE; |
| 141 | 141 |
| 142 void setVisible(bool); |
| 143 |
| 142 private: | 144 private: |
| 143 explicit MediaControlOverlayPlayButtonElement(Document&); | 145 explicit MediaControlOverlayPlayButtonElement(Document&); |
| 144 | 146 |
| 145 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 147 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 146 virtual void defaultEventHandler(Event*) OVERRIDE; | 148 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 149 |
| 150 bool m_visible; |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 // ---------------------------- | 153 // ---------------------------- |
| 150 | 154 |
| 151 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { | 155 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { |
| 152 public: | 156 public: |
| 153 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Docu
ment&, MediaControls*); | 157 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Docu
ment&, MediaControls*); |
| 154 | 158 |
| 155 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } | 159 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
| 156 | 160 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 254 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 251 | 255 |
| 252 IntRect m_videoDisplaySize; | 256 IntRect m_videoDisplaySize; |
| 253 float m_fontSize; | 257 float m_fontSize; |
| 254 }; | 258 }; |
| 255 | 259 |
| 256 | 260 |
| 257 } // namespace WebCore | 261 } // namespace WebCore |
| 258 | 262 |
| 259 #endif // MediaControlElements_h | 263 #endif // MediaControlElements_h |
| OLD | NEW |