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

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

Issue 139233008: Remove HTMLMediaElement::togglePlayState() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 DEFINE_ATTRIBUTE_EVENT_LISTENER(needkey); 166 DEFINE_ATTRIBUTE_EVENT_LISTENER(needkey);
167 167
168 // controls 168 // controls
169 bool controls() const; 169 bool controls() const;
170 void setControls(bool); 170 void setControls(bool);
171 virtual double volume() const OVERRIDE FINAL; 171 virtual double volume() const OVERRIDE FINAL;
172 virtual void setVolume(double, ExceptionState&) OVERRIDE FINAL; 172 virtual void setVolume(double, ExceptionState&) OVERRIDE FINAL;
173 virtual bool muted() const OVERRIDE FINAL; 173 virtual bool muted() const OVERRIDE FINAL;
174 virtual void setMuted(bool) OVERRIDE FINAL; 174 virtual void setMuted(bool) OVERRIDE FINAL;
175 175
176 void togglePlayState();
177 virtual void beginScrubbing() OVERRIDE FINAL; 176 virtual void beginScrubbing() OVERRIDE FINAL;
178 virtual void endScrubbing() OVERRIDE FINAL; 177 virtual void endScrubbing() OVERRIDE FINAL;
179 178
180 virtual bool canPlay() const OVERRIDE FINAL; 179 virtual bool canPlay() const OVERRIDE FINAL;
181 180
182 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr ing& label, const AtomicString& language, ExceptionState&); 181 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr ing& label, const AtomicString& language, ExceptionState&);
183 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr ing& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, e mptyAtom, exceptionState); } 182 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicStr ing& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, e mptyAtom, exceptionState); }
184 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState& exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionStat e); } 183 PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState& exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionStat e); }
185 184
186 TextTrackList* textTracks(); 185 TextTrackList* textTracks();
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 inline bool isHTMLMediaElement(const Node& node) 599 inline bool isHTMLMediaElement(const Node& node)
601 { 600 {
602 return node.isElementNode() && toElement(node).isMediaElement(); 601 return node.isElementNode() && toElement(node).isMediaElement();
603 } 602 }
604 603
605 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 604 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
606 605
607 } //namespace 606 } //namespace
608 607
609 #endif 608 #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