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

Side by Side Diff: Source/core/html/HTMLMediaElement.h

Issue 32583003: Remove HTMLMediaElement.startTime (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@mediaidl
Patch Set: Created 7 years, 2 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
« no previous file with comments | « LayoutTests/media/media-startTime-expected.txt ('k') | Source/core/html/HTMLMediaElement.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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 String canPlayType(const String& mimeType, const String& keySystem = String( ), const KURL& = KURL()) const; 117 String canPlayType(const String& mimeType, const String& keySystem = String( ), const KURL& = KURL()) const;
118 118
119 // ready state 119 // ready state
120 ReadyState readyState() const; 120 ReadyState readyState() const;
121 bool seeking() const; 121 bool seeking() const;
122 122
123 // playback state 123 // playback state
124 double currentTime() const; 124 double currentTime() const;
125 void setCurrentTime(double, ExceptionState&); 125 void setCurrentTime(double, ExceptionState&);
126 double initialTime() const; 126 double initialTime() const;
127 double startTime() const;
128 double duration() const; 127 double duration() const;
129 bool paused() const; 128 bool paused() const;
130 double defaultPlaybackRate() const; 129 double defaultPlaybackRate() const;
131 void setDefaultPlaybackRate(double); 130 void setDefaultPlaybackRate(double);
132 double playbackRate() const; 131 double playbackRate() const;
133 void setPlaybackRate(double); 132 void setPlaybackRate(double);
134 void updatePlaybackRate(); 133 void updatePlaybackRate();
135 PassRefPtr<TimeRanges> played(); 134 PassRefPtr<TimeRanges> played();
136 PassRefPtr<TimeRanges> seekable() const; 135 PassRefPtr<TimeRanges> seekable() const;
137 bool ended() const; 136 bool ended() const;
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 601
603 inline HTMLMediaElement* toHTMLMediaElement(Node* node) 602 inline HTMLMediaElement* toHTMLMediaElement(Node* node)
604 { 603 {
605 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node)); 604 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLMediaElement(node));
606 return static_cast<HTMLMediaElement*>(node); 605 return static_cast<HTMLMediaElement*>(node);
607 } 606 }
608 607
609 } //namespace 608 } //namespace
610 609
611 #endif 610 #endif
OLDNEW
« no previous file with comments | « LayoutTests/media/media-startTime-expected.txt ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698