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

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

Issue 41343003: Remove dead code for reflected attributes on <audio>, <video> and <track> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool paused() const; 127 bool paused() const;
128 double defaultPlaybackRate() const; 128 double defaultPlaybackRate() const;
129 void setDefaultPlaybackRate(double); 129 void setDefaultPlaybackRate(double);
130 double playbackRate() const; 130 double playbackRate() const;
131 void setPlaybackRate(double); 131 void setPlaybackRate(double);
132 void updatePlaybackRate(); 132 void updatePlaybackRate();
133 PassRefPtr<TimeRanges> played(); 133 PassRefPtr<TimeRanges> played();
134 PassRefPtr<TimeRanges> seekable() const; 134 PassRefPtr<TimeRanges> seekable() const;
135 bool ended() const; 135 bool ended() const;
136 bool autoplay() const; 136 bool autoplay() const;
137 void setAutoplay(bool b);
138 bool loop() const; 137 bool loop() const;
139 void setLoop(bool b); 138 void setLoop(bool b);
140 void play(); 139 void play();
141 void pause(); 140 void pause();
142 141
143 // Statistics 142 // Statistics
144 unsigned webkitAudioDecodedByteCount() const; 143 unsigned webkitAudioDecodedByteCount() const;
145 unsigned webkitVideoDecodedByteCount() const; 144 unsigned webkitVideoDecodedByteCount() const;
146 145
147 // Media Source. 146 // Media Source.
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 inline bool isHTMLMediaElement(const Node& node) 600 inline bool isHTMLMediaElement(const Node& node)
602 { 601 {
603 return node.isElementNode() && toElement(node).isMediaElement(); 602 return node.isElementNode() && toElement(node).isMediaElement();
604 } 603 }
605 604
606 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 605 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
607 606
608 } //namespace 607 } //namespace
609 608
610 #endif 609 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698