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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 void togglePlayState(); 175 void togglePlayState();
176 void beginScrubbing(); 176 void beginScrubbing();
177 void endScrubbing(); 177 void endScrubbing();
178 178
179 bool canPlay() const; 179 bool canPlay() const;
180 180
181 double percentLoaded() const; 181 double percentLoaded() const;
182 182
183 PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, const String& language, ExceptionState&); 183 PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, const String& language, ExceptionState&);
184 PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, ExceptionState& es) { return addTextTrack(kind, label, emptyString(), es); } 184 PassRefPtr<TextTrack> addTextTrack(const String& kind, const String& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, emptyString() , exceptionState); }
185 PassRefPtr<TextTrack> addTextTrack(const String& kind, ExceptionState& es) { return addTextTrack(kind, emptyString(), emptyString(), es); } 185 PassRefPtr<TextTrack> addTextTrack(const String& kind, ExceptionState& excep tionState) { return addTextTrack(kind, emptyString(), emptyString(), exceptionSt ate); }
186 186
187 TextTrackList* textTracks(); 187 TextTrackList* textTracks();
188 CueList currentlyActiveCues() const { return m_currentlyActiveCues; } 188 CueList currentlyActiveCues() const { return m_currentlyActiveCues; }
189 189
190 void addTrack(TextTrack*); 190 void addTrack(TextTrack*);
191 void removeTrack(TextTrack*); 191 void removeTrack(TextTrack*);
192 void removeAllInbandTracks(); 192 void removeAllInbandTracks();
193 void closeCaptionTracksChanged(); 193 void closeCaptionTracksChanged();
194 void notifyMediaPlayerOfTextTrackChanges(); 194 void notifyMediaPlayerOfTextTrackChanges();
195 195
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 inline bool isHTMLMediaElement(const Node& node) 594 inline bool isHTMLMediaElement(const Node& node)
595 { 595 {
596 return node.isElementNode() && toElement(node).isMediaElement(); 596 return node.isElementNode() && toElement(node).isMediaElement();
597 } 597 }
598 598
599 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 599 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
600 600
601 } //namespace 601 } //namespace
602 602
603 #endif 603 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMarqueeElement.cpp ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698