| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 void setIsDisplayed(bool); | 43 void setIsDisplayed(bool); |
| 44 | 44 |
| 45 void makeOpaque(); | 45 void makeOpaque(); |
| 46 void makeTransparent(); | 46 void makeTransparent(); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 explicit MediaControlPanelElement(MediaControls&); | 49 explicit MediaControlPanelElement(MediaControls&); |
| 50 | 50 |
| 51 virtual void defaultEventHandler(Event*) override; | 51 virtual void defaultEventHandler(Event*) override; |
| 52 virtual bool keepEventInNode(Event*) override; |
| 52 | 53 |
| 53 void startTimer(); | 54 void startTimer(); |
| 54 void stopTimer(); | 55 void stopTimer(); |
| 55 void transitionTimerFired(Timer<MediaControlPanelElement>*); | 56 void transitionTimerFired(Timer<MediaControlPanelElement>*); |
| 56 virtual bool keepEventInNode(Event*) override; | 57 void didBecomeVisible(); |
| 57 | 58 |
| 58 bool m_isDisplayed; | 59 bool m_isDisplayed; |
| 59 bool m_opaque; | 60 bool m_opaque; |
| 60 | 61 |
| 61 Timer<MediaControlPanelElement> m_transitionTimer; | 62 Timer<MediaControlPanelElement> m_transitionTimer; |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 // ---------------------------- | 65 // ---------------------------- |
| 65 | 66 |
| 66 class MediaControlPanelEnclosureElement final : public MediaControlDivElement { | 67 class MediaControlPanelEnclosureElement final : public MediaControlDivElement { |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 public: | 233 public: |
| 233 static PassRefPtrWillBeRawPtr<MediaControlCurrentTimeDisplayElement> create(
MediaControls&); | 234 static PassRefPtrWillBeRawPtr<MediaControlCurrentTimeDisplayElement> create(
MediaControls&); |
| 234 | 235 |
| 235 private: | 236 private: |
| 236 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); | 237 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); |
| 237 }; | 238 }; |
| 238 | 239 |
| 239 } // namespace blink | 240 } // namespace blink |
| 240 | 241 |
| 241 #endif // MediaControlElements_h | 242 #endif // MediaControlElements_h |
| OLD | NEW |