Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: Source/core/html/shadow/MediaControlElements.h

Issue 988763002: Start separating the text track container from the media controls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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* createLayoutObject(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
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlElementTypes.h ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698