Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.h

Issue 2700663002: Adds keyboard functionality for videos. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/MediaControlElements.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/MediaControlElements.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698