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

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

Issue 892963003: Ensure media control goes to transparent(hide) after seek by touch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ensure IgnoreControlsHover flag is set effectively Created 5 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
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 RawPtrWillBeMember<MediaControlFullscreenButtonElement> m_fullScreenButton; 130 RawPtrWillBeMember<MediaControlFullscreenButtonElement> m_fullScreenButton;
131 RawPtrWillBeMember<MediaControlCastButtonElement> m_castButton; 131 RawPtrWillBeMember<MediaControlCastButtonElement> m_castButton;
132 RawPtrWillBeMember<MediaControlCastButtonElement> m_overlayCastButton; 132 RawPtrWillBeMember<MediaControlCastButtonElement> m_overlayCastButton;
133 RawPtrWillBeMember<MediaControlTimeRemainingDisplayElement> m_durationDispla y; 133 RawPtrWillBeMember<MediaControlTimeRemainingDisplayElement> m_durationDispla y;
134 RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure; 134 RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure;
135 135
136 Timer<MediaControls> m_hideMediaControlsTimer; 136 Timer<MediaControls> m_hideMediaControlsTimer;
137 bool m_isMouseOverControls : 1; 137 bool m_isMouseOverControls : 1;
138 bool m_isPausedForScrubbing : 1; 138 bool m_isPausedForScrubbing : 1;
139 bool m_wasLastEventTouch : 1; 139 bool m_wasLastEventTouch : 1;
140 unsigned m_behaviorFlags;
140 }; 141 };
141 142
142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 143 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
143 144
144 } 145 }
145 146
146 #endif 147 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698