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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme
nt { | 120 class MediaControlOverlayPlayButtonElement FINAL : public MediaControlInputEleme
nt { |
121 public: | 121 public: |
122 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(MediaControls
&); | 122 static PassRefPtr<MediaControlOverlayPlayButtonElement> create(MediaControls
&); |
123 | 123 |
124 virtual void updateDisplayType() OVERRIDE; | 124 virtual void updateDisplayType() OVERRIDE; |
125 | 125 |
126 private: | 126 private: |
127 explicit MediaControlOverlayPlayButtonElement(MediaControls&); | 127 explicit MediaControlOverlayPlayButtonElement(MediaControls&); |
128 | 128 |
129 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 129 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 130 virtual void defaultEventHandler(Event*) OVERRIDE; |
130 }; | 131 }; |
131 | 132 |
132 // ---------------------------- | 133 // ---------------------------- |
133 | 134 |
134 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { | 135 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { |
135 public: | 136 public: |
136 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi
aControls&); | 137 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi
aControls&); |
137 | 138 |
138 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } | 139 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
139 | 140 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 240 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
240 | 241 |
241 IntRect m_videoDisplaySize; | 242 IntRect m_videoDisplaySize; |
242 float m_fontSize; | 243 float m_fontSize; |
243 }; | 244 }; |
244 | 245 |
245 | 246 |
246 } // namespace WebCore | 247 } // namespace WebCore |
247 | 248 |
248 #endif // MediaControlElements_h | 249 #endif // MediaControlElements_h |
OLD | NEW |