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; | |
131 }; | 130 }; |
132 | 131 |
133 // ---------------------------- | 132 // ---------------------------- |
134 | 133 |
135 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { | 134 class MediaControlToggleClosedCaptionsButtonElement FINAL : public MediaControlI
nputElement { |
136 public: | 135 public: |
137 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi
aControls&); | 136 static PassRefPtr<MediaControlToggleClosedCaptionsButtonElement> create(Medi
aControls&); |
138 | 137 |
139 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } | 138 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
140 | 139 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 239 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
241 | 240 |
242 IntRect m_videoDisplaySize; | 241 IntRect m_videoDisplaySize; |
243 float m_fontSize; | 242 float m_fontSize; |
244 }; | 243 }; |
245 | 244 |
246 | 245 |
247 } // namespace WebCore | 246 } // namespace WebCore |
248 | 247 |
249 #endif // MediaControlElements_h | 248 #endif // MediaControlElements_h |
OLD | NEW |