| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 bool keepEventInNode(Event*) override; | 56 bool keepEventInNode(Event*) override; |
| 57 | 57 |
| 58 void startTimer(); | 58 void startTimer(); |
| 59 void stopTimer(); | 59 void stopTimer(); |
| 60 void transitionTimerFired(TimerBase*); | 60 void transitionTimerFired(TimerBase*); |
| 61 void didBecomeVisible(); | 61 void didBecomeVisible(); |
| 62 | 62 |
| 63 bool m_isDisplayed; | 63 bool m_isDisplayed; |
| 64 bool m_opaque; | 64 bool m_opaque; |
| 65 | 65 |
| 66 Timer<MediaControlPanelElement> m_transitionTimer; | 66 TaskRunnerTimer<MediaControlPanelElement> m_transitionTimer; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 // ---------------------------- | 69 // ---------------------------- |
| 70 | 70 |
| 71 class MediaControlPanelEnclosureElement final : public MediaControlDivElement { | 71 class MediaControlPanelEnclosureElement final : public MediaControlDivElement { |
| 72 public: | 72 public: |
| 73 static MediaControlPanelEnclosureElement* create(MediaControls&); | 73 static MediaControlPanelEnclosureElement* create(MediaControls&); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 explicit MediaControlPanelEnclosureElement(MediaControls&); | 76 explicit MediaControlPanelEnclosureElement(MediaControls&); |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 public: | 364 public: |
| 365 static MediaControlCurrentTimeDisplayElement* create(MediaControls&); | 365 static MediaControlCurrentTimeDisplayElement* create(MediaControls&); |
| 366 | 366 |
| 367 private: | 367 private: |
| 368 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); | 368 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); |
| 369 }; | 369 }; |
| 370 | 370 |
| 371 } // namespace blink | 371 } // namespace blink |
| 372 | 372 |
| 373 #endif // MediaControlElements_h | 373 #endif // MediaControlElements_h |
| OLD | NEW |