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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 AudioSourceProvider* audioSourceProvider(); 258 AudioSourceProvider* audioSourceProvider();
259 #endif 259 #endif
260 260
261 enum InvalidURLAction { DoNothing, Complain }; 261 enum InvalidURLAction { DoNothing, Complain };
262 bool isSafeToLoadURL(const KURL&, InvalidURLAction); 262 bool isSafeToLoadURL(const KURL&, InvalidURLAction);
263 263
264 MediaController* controller() const; 264 MediaController* controller() const;
265 void setController(PassRefPtr<MediaController>); // Resets the MediaGroup an d sets the MediaController. 265 void setController(PassRefPtr<MediaController>); // Resets the MediaGroup an d sets the MediaController.
266 266
267 void scheduleEvent(PassRefPtr<Event>); 267 void scheduleEvent(PassRefPtrWillBeRawPtr<Event>);
268 268
269 // Current volume that should be used by the webMediaPlayer(). This method t akes muted state 269 // Current volume that should be used by the webMediaPlayer(). This method t akes muted state
270 // and m_mediaController multipliers into account. 270 // and m_mediaController multipliers into account.
271 double playerVolume() const; 271 double playerVolume() const;
272 272
273 protected: 273 protected:
274 HTMLMediaElement(const QualifiedName&, Document&); 274 HTMLMediaElement(const QualifiedName&, Document&);
275 virtual ~HTMLMediaElement(); 275 virtual ~HTMLMediaElement();
276 276
277 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 277 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 inline bool isHTMLMediaElement(const HTMLElement& element) 555 inline bool isHTMLMediaElement(const HTMLElement& element)
556 { 556 {
557 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 557 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
558 } 558 }
559 559
560 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 560 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
561 561
562 } //namespace 562 } //namespace
563 563
564 #endif 564 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698