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