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

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

Issue 12087064: Merge 140834 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed.
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class Widget; 65 class Widget;
66 #endif 66 #endif
67 #if PLATFORM(MAC) 67 #if PLATFORM(MAC)
68 class DisplaySleepDisabler; 68 class DisplaySleepDisabler;
69 #endif 69 #endif
70 70
71 #if ENABLE(VIDEO_TRACK) 71 #if ENABLE(VIDEO_TRACK)
72 class InbandTextTrackPrivate; 72 class InbandTextTrackPrivate;
73 73
74 typedef PODIntervalTree<double, TextTrackCue*> CueIntervalTree; 74 typedef PODIntervalTree<double, TextTrackCue*> CueIntervalTree;
75 typedef Vector<CueIntervalTree::IntervalType> CueList; 75 typedef CueIntervalTree::IntervalType CueInterval;
76 typedef Vector<CueInterval> CueList;
76 #endif 77 #endif
77 78
78 // FIXME: The inheritance from MediaPlayerClient here should be private inherita nce. 79 // FIXME: The inheritance from MediaPlayerClient here should be private inherita nce.
79 // But it can't be until the Chromium WebMediaPlayerClientImpl class is fixed so it 80 // But it can't be until the Chromium WebMediaPlayerClientImpl class is fixed so it
80 // no longer depends on typecasting a MediaPlayerClient to an HTMLMediaElement. 81 // no longer depends on typecasting a MediaPlayerClient to an HTMLMediaElement.
81 82
82 class HTMLMediaElement : public HTMLElement, public MediaPlayerClient, public Me diaPlayerSupportsTypeClient, private MediaCanStartListener, public ActiveDOMObje ct, public MediaControllerInterface 83 class HTMLMediaElement : public HTMLElement, public MediaPlayerClient, public Me diaPlayerSupportsTypeClient, private MediaCanStartListener, public ActiveDOMObje ct, public MediaControllerInterface
83 #if ENABLE(VIDEO_TRACK) 84 #if ENABLE(VIDEO_TRACK)
84 , private TextTrackClient, private CaptionPreferencesChangedListener 85 , private TextTrackClient, private CaptionPreferencesChangedListener
85 #endif 86 #endif
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 inline HTMLMediaElement* toMediaElement(Node* node) 733 inline HTMLMediaElement* toMediaElement(Node* node)
733 { 734 {
734 ASSERT(!node || isMediaElement(node)); 735 ASSERT(!node || isMediaElement(node));
735 return static_cast<HTMLMediaElement*>(node); 736 return static_cast<HTMLMediaElement*>(node);
736 } 737 }
737 738
738 } //namespace 739 } //namespace
739 740
740 #endif 741 #endif
741 #endif 742 #endif
OLDNEW
« no previous file with comments | « LayoutTests/media/track/track-remove-active-cue-crash-expected.txt ('k') | Source/WebCore/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698