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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElements.h

Issue 2820343002: Media Controls: move timeline related code to modules. (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/shadow/MediaControlElements.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h
index de59f4bbd31cee6d865ec248e8cb2696dc7de11c..af98e73cd708dc262f144aefd11a07ed5134f00a 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.h
@@ -31,39 +31,9 @@
#define MediaControlElements_h
#include "core/html/shadow/MediaControlElementTypes.h"
-#include "core/html/shadow/MediaControlTimelineMetrics.h"
namespace blink {
-class CORE_EXPORT MediaControlTimelineElement final
- : public MediaControlInputElement {
- public:
- static MediaControlTimelineElement* Create(MediaControls&);
-
- bool WillRespondToMouseClickEvents() override;
-
- // FIXME: An "earliest possible position" will be needed once that concept
- // is supported by HTMLMediaElement, see https://crbug.com/137275
- void SetPosition(double);
- void SetDuration(double);
-
- void OnPlaying();
-
- private:
- explicit MediaControlTimelineElement(MediaControls&);
-
- void DefaultEventHandler(Event*) override;
- bool KeepEventInNode(Event*) override;
-
- // Width in CSS pixels * pageZoomFactor (ignores CSS transforms for
- // simplicity; deliberately ignores pinch zoom's pageScaleFactor).
- int TimelineWidth();
-
- MediaControlTimelineMetrics metrics_;
-};
-
-// ----------------------------
-
class CORE_EXPORT MediaControlVolumeSliderElement final
: public MediaControlInputElement {
public:

Powered by Google App Engine
This is Rietveld 408576698