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

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

Issue 1631653002: Removed unused member TextTrackChangesNotification in DelayedActionType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 virtual bool hasVideo() const { return false; } 81 virtual bool hasVideo() const { return false; }
82 bool hasAudio() const; 82 bool hasAudio() const;
83 83
84 bool supportsSave() const; 84 bool supportsSave() const;
85 85
86 WebLayer* platformLayer() const; 86 WebLayer* platformLayer() const;
87 87
88 enum DelayedActionType { 88 enum DelayedActionType {
89 LoadMediaResource = 1 << 0, 89 LoadMediaResource = 1 << 0,
90 LoadTextTrackResource = 1 << 1, 90 LoadTextTrackResource = 1 << 1
91 TextTrackChangesNotification = 1 << 2
92 }; 91 };
93 void scheduleDelayedAction(DelayedActionType); 92 void scheduleDelayedAction(DelayedActionType);
94 93
95 bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; } 94 bool hasRemoteRoutes() const { return m_remoteRoutesAvailable; }
96 bool isPlayingRemotely() const { return m_playingRemotely; } 95 bool isPlayingRemotely() const { return m_playingRemotely; }
97 96
98 // error state 97 // error state
99 MediaError* error() const; 98 MediaError* error() const;
100 99
101 // network state 100 // network state
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 inline bool isHTMLMediaElement(const HTMLElement& element) 623 inline bool isHTMLMediaElement(const HTMLElement& element)
625 { 624 {
626 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 625 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
627 } 626 }
628 627
629 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 628 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
630 629
631 } // namespace blink 630 } // namespace blink
632 631
633 #endif // HTMLMediaElement_h 632 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698