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

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

Issue 2627803002: Move 2 MediaControls Timers to TaskRunnerTimer (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp » ('j') | 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 Member<MediaControlOverflowMenuListElement> m_overflowList; 198 Member<MediaControlOverflowMenuListElement> m_overflowList;
199 199
200 Member<MediaControlCastButtonElement> m_castButton; 200 Member<MediaControlCastButtonElement> m_castButton;
201 Member<MediaControlFullscreenButtonElement> m_fullscreenButton; 201 Member<MediaControlFullscreenButtonElement> m_fullscreenButton;
202 Member<MediaControlDownloadButtonElement> m_downloadButton; 202 Member<MediaControlDownloadButtonElement> m_downloadButton;
203 203
204 Member<MediaControlsMediaEventListener> m_mediaEventListener; 204 Member<MediaControlsMediaEventListener> m_mediaEventListener;
205 Member<MediaControlsWindowEventListener> m_windowEventListener; 205 Member<MediaControlsWindowEventListener> m_windowEventListener;
206 Member<MediaControlsOrientationLockDelegate> m_orientationLockDelegate; 206 Member<MediaControlsOrientationLockDelegate> m_orientationLockDelegate;
207 207
208 Timer<MediaControls> m_hideMediaControlsTimer; 208 TaskRunnerTimer<MediaControls> m_hideMediaControlsTimer;
209 unsigned m_hideTimerBehaviorFlags; 209 unsigned m_hideTimerBehaviorFlags;
210 bool m_isMouseOverControls : 1; 210 bool m_isMouseOverControls : 1;
211 bool m_isPausedForScrubbing : 1; 211 bool m_isPausedForScrubbing : 1;
212 212
213 Timer<MediaControls> m_panelWidthChangedTimer; 213 TaskRunnerTimer<MediaControls> m_panelWidthChangedTimer;
214 int m_panelWidth; 214 int m_panelWidth;
215 215
216 bool m_keepShowingUntilTimerFires : 1; 216 bool m_keepShowingUntilTimerFires : 1;
217 }; 217 };
218 218
219 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 219 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
220 220
221 } // namespace blink 221 } // namespace blink
222 222
223 #endif 223 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698