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

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

Issue 1415683009: Support earliest seekable time in WMPI. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more androidfixes. Created 5 years, 1 month 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) 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 }; 145 };
146 146
147 // ---------------------------- 147 // ----------------------------
148 148
149 class MediaControlTimelineElement final : public MediaControlInputElement { 149 class MediaControlTimelineElement final : public MediaControlInputElement {
150 public: 150 public:
151 static PassRefPtrWillBeRawPtr<MediaControlTimelineElement> create(MediaContr ols&); 151 static PassRefPtrWillBeRawPtr<MediaControlTimelineElement> create(MediaContr ols&);
152 152
153 bool willRespondToMouseClickEvents() override; 153 bool willRespondToMouseClickEvents() override;
154 154
155 // FIXME: An "earliest possible position" will be needed once that concept 155 void setEarliestPosition(double);
156 // is supported by HTMLMediaElement, see https://crbug.com/137275
157 void setPosition(double); 156 void setPosition(double);
158 void setDuration(double); 157 void setDuration(double);
159 158
160 private: 159 private:
161 explicit MediaControlTimelineElement(MediaControls&); 160 explicit MediaControlTimelineElement(MediaControls&);
162 161
163 void defaultEventHandler(Event*) override; 162 void defaultEventHandler(Event*) override;
164 bool keepEventInNode(Event*) override; 163 bool keepEventInNode(Event*) override;
165 }; 164 };
166 165
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 public: 251 public:
253 static PassRefPtrWillBeRawPtr<MediaControlCurrentTimeDisplayElement> create( MediaControls&); 252 static PassRefPtrWillBeRawPtr<MediaControlCurrentTimeDisplayElement> create( MediaControls&);
254 253
255 private: 254 private:
256 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); 255 explicit MediaControlCurrentTimeDisplayElement(MediaControls&);
257 }; 256 };
258 257
259 } // namespace blink 258 } // namespace blink
260 259
261 #endif // MediaControlElements_h 260 #endif // MediaControlElements_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698