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

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

Issue 951253002: Remove unused show/hideTextTrackDisplay() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void hideMediaControlsTimerFired(Timer<MediaControls>*); 94 void hideMediaControlsTimerFired(Timer<MediaControls>*);
95 void startHideMediaControlsTimer(); 95 void startHideMediaControlsTimer();
96 void stopHideMediaControlsTimer(); 96 void stopHideMediaControlsTimer();
97 void resetHideMediaControlsTimer(); 97 void resetHideMediaControlsTimer();
98 98
99 // Attempts to show the overlay cast button. If it is covered by another 99 // Attempts to show the overlay cast button. If it is covered by another
100 // element in the page, it will be hidden. 100 // element in the page, it will be hidden.
101 void tryShowOverlayCastButton(); 101 void tryShowOverlayCastButton();
102 102
103 void createTextTrackDisplay(); 103 void createTextTrackDisplay();
104 void showTextTrackDisplay();
105 void hideTextTrackDisplay();
106 104
107 // Node 105 // Node
108 virtual bool isMediaControls() const override { return true; } 106 virtual bool isMediaControls() const override { return true; }
109 virtual bool willRespondToMouseMoveEvents() override { return true; } 107 virtual bool willRespondToMouseMoveEvents() override { return true; }
110 virtual void defaultEventHandler(Event*) override; 108 virtual void defaultEventHandler(Event*) override;
111 bool containsRelatedTarget(Event*); 109 bool containsRelatedTarget(Event*);
112 110
113 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement; 111 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement;
114 112
115 // Container for the media control elements. 113 // Container for the media control elements.
(...skipping 21 matching lines...) Expand all
137 unsigned m_hideTimerBehaviorFlags; 135 unsigned m_hideTimerBehaviorFlags;
138 bool m_isMouseOverControls : 1; 136 bool m_isMouseOverControls : 1;
139 bool m_isPausedForScrubbing : 1; 137 bool m_isPausedForScrubbing : 1;
140 }; 138 };
141 139
142 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); 140 DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls());
143 141
144 } 142 }
145 143
146 #endif 144 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698