Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2011, 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 void onDisableRemotePlaybackAttributeChanged() { | 109 void onDisableRemotePlaybackAttributeChanged() { |
| 110 refreshCastButtonVisibility(); | 110 refreshCastButtonVisibility(); |
| 111 } | 111 } |
| 112 | 112 |
| 113 DECLARE_VIRTUAL_TRACE(); | 113 DECLARE_VIRTUAL_TRACE(); |
| 114 | 114 |
| 115 private: | 115 private: |
| 116 friend class MediaControlsMediaEventListener; | 116 friend class MediaControlsMediaEventListener; |
| 117 friend class MediaControlsOrientationLockDelegateTest; | 117 friend class MediaControlsOrientationLockDelegateTest; |
| 118 friend class MediaControlsTest; | 118 friend class MediaControlsTest; |
| 119 friend class HTMLMediaElement; | |
|
mlamouri (slow - plz ping)
2017/02/16 17:13:54
We have an ongoing project to split the close rela
CJ
2017/02/17 02:45:50
I figured, I just wanted to start the conversation
| |
| 119 | 120 |
| 120 void invalidate(Element*); | 121 void invalidate(Element*); |
| 121 | 122 |
| 122 class BatchedControlUpdate; | 123 class BatchedControlUpdate; |
| 123 | 124 |
| 124 explicit MediaControls(HTMLMediaElement&); | 125 explicit MediaControls(HTMLMediaElement&); |
| 125 | 126 |
| 126 void initializeControls(); | 127 void initializeControls(); |
| 127 | 128 |
| 128 void makeOpaque(); | 129 void makeOpaque(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 int m_panelWidth; | 215 int m_panelWidth; |
| 215 | 216 |
| 216 bool m_keepShowingUntilTimerFires : 1; | 217 bool m_keepShowingUntilTimerFires : 1; |
| 217 }; | 218 }; |
| 218 | 219 |
| 219 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); | 220 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |
| 220 | 221 |
| 221 } // namespace blink | 222 } // namespace blink |
| 222 | 223 |
| 223 #endif | 224 #endif |
| OLD | NEW |