| 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |