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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 class MediaControlTextTrackContainerElement final : public MediaControlDivElemen
t { | 241 class MediaControlTextTrackContainerElement final : public MediaControlDivElemen
t { |
242 public: | 242 public: |
243 static PassRefPtrWillBeRawPtr<MediaControlTextTrackContainerElement> create(
MediaControls&); | 243 static PassRefPtrWillBeRawPtr<MediaControlTextTrackContainerElement> create(
MediaControls&); |
244 | 244 |
245 void updateDisplay(); | 245 void updateDisplay(); |
246 void updateSizes(); | 246 void updateSizes(); |
247 | 247 |
248 private: | 248 private: |
249 explicit MediaControlTextTrackContainerElement(MediaControls&); | 249 explicit MediaControlTextTrackContainerElement(MediaControls&); |
250 | 250 |
251 virtual RenderObject* createRenderer(const RenderStyle&) override; | 251 virtual LayoutObject* createRenderer(const RenderStyle&) override; |
252 | 252 |
253 IntRect m_videoDisplaySize; | 253 IntRect m_videoDisplaySize; |
254 float m_fontSize; | 254 float m_fontSize; |
255 }; | 255 }; |
256 | 256 |
257 | 257 |
258 } // namespace blink | 258 } // namespace blink |
259 | 259 |
260 #endif // MediaControlElements_h | 260 #endif // MediaControlElements_h |
OLD | NEW |