| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 // ---------------------------- | 198 // ---------------------------- |
| 199 | 199 |
| 200 class MediaControlFullscreenButtonElement FINAL : public MediaControlInputElemen
t { | 200 class MediaControlFullscreenButtonElement FINAL : public MediaControlInputElemen
t { |
| 201 public: | 201 public: |
| 202 static PassRefPtr<MediaControlFullscreenButtonElement> create(Document&); | 202 static PassRefPtr<MediaControlFullscreenButtonElement> create(Document&); |
| 203 | 203 |
| 204 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } | 204 virtual bool willRespondToMouseClickEvents() OVERRIDE { return true; } |
| 205 | 205 |
| 206 virtual void setIsFullscreen(bool); | 206 void setIsFullscreen(bool); |
| 207 | 207 |
| 208 private: | 208 private: |
| 209 explicit MediaControlFullscreenButtonElement(Document&); | 209 explicit MediaControlFullscreenButtonElement(Document&); |
| 210 | 210 |
| 211 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 211 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 212 virtual void defaultEventHandler(Event*) OVERRIDE; | 212 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 213 }; | 213 }; |
| 214 | 214 |
| 215 // ---------------------------- | 215 // ---------------------------- |
| 216 | 216 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document&); | 252 static PassRefPtr<MediaControlTextTrackContainerElement> create(Document&); |
| 253 | 253 |
| 254 void updateDisplay(); | 254 void updateDisplay(); |
| 255 void updateSizes(bool forceUpdate = false); | 255 void updateSizes(bool forceUpdate = false); |
| 256 static const AtomicString& textTrackContainerElementShadowPseudoId(); | 256 static const AtomicString& textTrackContainerElementShadowPseudoId(); |
| 257 | 257 |
| 258 private: | 258 private: |
| 259 explicit MediaControlTextTrackContainerElement(Document&); | 259 explicit MediaControlTextTrackContainerElement(Document&); |
| 260 virtual const AtomicString& shadowPseudoId() const OVERRIDE; | 260 virtual const AtomicString& shadowPseudoId() const OVERRIDE; |
| 261 | 261 |
| 262 virtual RenderObject* createRenderer(RenderStyle*); | 262 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 263 | 263 |
| 264 IntRect m_videoDisplaySize; | 264 IntRect m_videoDisplaySize; |
| 265 float m_fontSize; | 265 float m_fontSize; |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 | 268 |
| 269 } // namespace WebCore | 269 } // namespace WebCore |
| 270 | 270 |
| 271 #endif // MediaControlElements_h | 271 #endif // MediaControlElements_h |
| OLD | NEW |