Chromium Code Reviews| 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 27 matching lines...) Expand all Loading... | |
| 38 | 38 |
| 39 class MediaControlPanelElement final : public MediaControlDivElement { | 39 class MediaControlPanelElement final : public MediaControlDivElement { |
| 40 public: | 40 public: |
| 41 static PassRefPtrWillBeRawPtr<MediaControlPanelElement> create(MediaControls &); | 41 static PassRefPtrWillBeRawPtr<MediaControlPanelElement> create(MediaControls &); |
| 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 bool isOpaque() const { return m_opaque; } | |
|
philipj_slow
2015/02/16 10:45:18
What about m_isDisplayed? I assume you want to che
Tima Vaisburd
2015/02/16 20:32:11
Thank you, I did not pay enough attention to this.
philipj_slow
2015/02/17 02:37:24
http://trac.webkit.org/changeset/115125 is where m
| |
| 49 | |
| 48 private: | 50 private: |
| 49 explicit MediaControlPanelElement(MediaControls&); | 51 explicit MediaControlPanelElement(MediaControls&); |
| 50 | 52 |
| 51 virtual void defaultEventHandler(Event*) override; | 53 virtual void defaultEventHandler(Event*) override; |
| 52 | 54 |
| 53 void startTimer(); | 55 void startTimer(); |
| 54 void stopTimer(); | 56 void stopTimer(); |
| 55 void transitionTimerFired(Timer<MediaControlPanelElement>*); | 57 void transitionTimerFired(Timer<MediaControlPanelElement>*); |
| 56 virtual bool keepEventInNode(Event*) override; | 58 virtual bool keepEventInNode(Event*) override; |
| 57 | 59 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 251 virtual LayoutObject* createRenderer(const LayoutStyle&) override; | 253 virtual LayoutObject* createRenderer(const LayoutStyle&) override; |
| 252 | 254 |
| 253 IntRect m_videoDisplaySize; | 255 IntRect m_videoDisplaySize; |
| 254 float m_fontSize; | 256 float m_fontSize; |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 | 259 |
| 258 } // namespace blink | 260 } // namespace blink |
| 259 | 261 |
| 260 #endif // MediaControlElements_h | 262 #endif // MediaControlElements_h |
| OLD | NEW |