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

Side by Side Diff: sky/engine/core/html/HTMLMediaElement.h

Issue 676923002: Remove the webkit prefix from idl properties and interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void updatePlaybackRate(); 118 void updatePlaybackRate();
119 PassRefPtrWillBeRawPtr<TimeRanges> played(); 119 PassRefPtrWillBeRawPtr<TimeRanges> played();
120 PassRefPtrWillBeRawPtr<TimeRanges> seekable() const; 120 PassRefPtrWillBeRawPtr<TimeRanges> seekable() const;
121 bool ended() const; 121 bool ended() const;
122 bool autoplay() const; 122 bool autoplay() const;
123 bool loop() const; 123 bool loop() const;
124 void setLoop(bool b); 124 void setLoop(bool b);
125 void play(); 125 void play();
126 void pause(); 126 void pause();
127 127
128 // statistics
129 unsigned webkitAudioDecodedByteCount() const;
130 unsigned webkitVideoDecodedByteCount() const;
131
132 // media source extensions 128 // media source extensions
133 void closeMediaSource(); 129 void closeMediaSource();
134 void durationChanged(double duration, bool requestSeek); 130 void durationChanged(double duration, bool requestSeek);
135 131
136 double volume() const; 132 double volume() const;
137 void setVolume(double, ExceptionState&); 133 void setVolume(double, ExceptionState&);
138 bool muted() const; 134 bool muted() const;
139 void setMuted(bool); 135 void setMuted(bool);
140 136
141 // play/pause toggling that uses the media controller if present. togglePlay StateWillPlay() is 137 // play/pause toggling that uses the media controller if present. togglePlay StateWillPlay() is
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 inline bool isHTMLMediaElement(const HTMLElement& element) 450 inline bool isHTMLMediaElement(const HTMLElement& element)
455 { 451 {
456 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 452 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
457 } 453 }
458 454
459 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 455 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
460 456
461 } // namespace blink 457 } // namespace blink
462 458
463 #endif // HTMLMediaElement_h 459 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « sky/engine/core/events/WebKitAnimationEvent.idl ('k') | sky/engine/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698