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

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

Issue 219283004: Remove what remains of MediaControllerInterface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: earliest possible position FIXME Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 }; 148 };
149 149
150 // ---------------------------- 150 // ----------------------------
151 151
152 class MediaControlTimelineElement FINAL : public MediaControlInputElement { 152 class MediaControlTimelineElement FINAL : public MediaControlInputElement {
153 public: 153 public:
154 static PassRefPtr<MediaControlTimelineElement> create(MediaControls&); 154 static PassRefPtr<MediaControlTimelineElement> create(MediaControls&);
155 155
156 virtual bool willRespondToMouseClickEvents() OVERRIDE; 156 virtual bool willRespondToMouseClickEvents() OVERRIDE;
157 157
158 // FIXME: An "earliest possible position" will be needed once that concept
159 // is supported by HTMLMediaElement, see https://crbug.com/137275
158 void setPosition(double); 160 void setPosition(double);
159 void setDuration(double); 161 void setDuration(double);
160 162
161 private: 163 private:
162 explicit MediaControlTimelineElement(MediaControls&); 164 explicit MediaControlTimelineElement(MediaControls&);
163 165
164 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 166 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
165 virtual void defaultEventHandler(Event*) OVERRIDE; 167 virtual void defaultEventHandler(Event*) OVERRIDE;
166 }; 168 };
167 169
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 240 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
239 241
240 IntRect m_videoDisplaySize; 242 IntRect m_videoDisplaySize;
241 float m_fontSize; 243 float m_fontSize;
242 }; 244 };
243 245
244 246
245 } // namespace WebCore 247 } // namespace WebCore
246 248
247 #endif // MediaControlElements_h 249 #endif // MediaControlElements_h
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlElementTypes.cpp ('k') | Source/core/html/shadow/MediaControlElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698