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

Side by Side Diff: Source/platform/graphics/media/MediaPlayer.h

Issue 604753003: Removing #ifdefs for WEB_AUDIO compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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, 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 static double invalidTime() { return -1.0; } 92 static double invalidTime() { return -1.0; }
93 93
94 MediaPlayer() { } 94 MediaPlayer() { }
95 virtual ~MediaPlayer() { } 95 virtual ~MediaPlayer() { }
96 96
97 virtual void load(WebMediaPlayer::LoadType, const String& url, WebMediaPlaye r::CORSMode) = 0; 97 virtual void load(WebMediaPlayer::LoadType, const String& url, WebMediaPlaye r::CORSMode) = 0;
98 98
99 enum Preload { None, MetaData, Auto }; 99 enum Preload { None, MetaData, Auto };
100 virtual void setPreload(Preload) = 0; 100 virtual void setPreload(Preload) = 0;
101 101
102 #if ENABLE(WEB_AUDIO)
103 virtual AudioSourceProvider* audioSourceProvider() = 0; 102 virtual AudioSourceProvider* audioSourceProvider() = 0;
104 #endif
105 virtual WebMediaPlayer* webMediaPlayer() const = 0; 103 virtual WebMediaPlayer* webMediaPlayer() const = 0;
106 }; 104 };
107 105
108 } // namespace blink 106 } // namespace blink
109 107
110 #endif // MediaPlayer_h 108 #endif // MediaPlayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698