| Index: Source/core/html/shadow/MediaControls.h
|
| diff --git a/Source/core/html/shadow/MediaControls.h b/Source/core/html/shadow/MediaControls.h
|
| index 7a93cecaf5b23576bc0063e27bd69a2615e035fa..7879662b3cb244a33adf79f8f289c2d8f0c0e523 100644
|
| --- a/Source/core/html/shadow/MediaControls.h
|
| +++ b/Source/core/html/shadow/MediaControls.h
|
| @@ -66,6 +66,8 @@ public:
|
|
|
| void updateTextTrackDisplay();
|
|
|
| + void mediaElementFocused();
|
| +
|
| virtual void trace(Visitor*) OVERRIDE;
|
|
|
| private:
|
| @@ -78,7 +80,12 @@ private:
|
|
|
| void updatePlayState();
|
|
|
| - bool shouldHideMediaControls();
|
| + enum HideBehaviorFlags {
|
| + IgnoreVideoHover = 1 << 0,
|
| + IgnoreFocus = 1 << 1
|
| + };
|
| +
|
| + bool shouldHideMediaControls(unsigned behaviorFlags = 0) const;
|
| void hideMediaControlsTimerFired(Timer<MediaControls>*);
|
| void startHideMediaControlsTimer();
|
| void stopHideMediaControlsTimer();
|
|
|