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

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

Issue 2814703002: Media Controls: move time display elements to media_controls module. (Closed)
Patch Set: review comments Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 bool WillRespondToMouseClickEvents() override; 329 bool WillRespondToMouseClickEvents() override;
330 void SetVolume(double); 330 void SetVolume(double);
331 331
332 private: 332 private:
333 explicit MediaControlVolumeSliderElement(MediaControls&); 333 explicit MediaControlVolumeSliderElement(MediaControls&);
334 334
335 void DefaultEventHandler(Event*) override; 335 void DefaultEventHandler(Event*) override;
336 bool KeepEventInNode(Event*) override; 336 bool KeepEventInNode(Event*) override;
337 }; 337 };
338 338
339 // ----------------------------
340
341 class CORE_EXPORT MediaControlTimeRemainingDisplayElement final
342 : public MediaControlTimeDisplayElement {
343 public:
344 static MediaControlTimeRemainingDisplayElement* Create(MediaControls&);
345
346 private:
347 explicit MediaControlTimeRemainingDisplayElement(MediaControls&);
348 };
349
350 // ----------------------------
351
352 class CORE_EXPORT MediaControlCurrentTimeDisplayElement final
353 : public MediaControlTimeDisplayElement {
354 public:
355 static MediaControlCurrentTimeDisplayElement* Create(MediaControls&);
356
357 private:
358 explicit MediaControlCurrentTimeDisplayElement(MediaControls&);
359 };
360
361 } // namespace blink 339 } // namespace blink
362 340
363 #endif // MediaControlElements_h 341 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698