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

Side by Side Diff: Source/core/platform/graphics/MediaPlayerPrivate.h

Issue 14619016: Add WebKit prefix to MediaSource,SourceBuffer, and SourceBufferList objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 7 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
« no previous file with comments | « Source/core/platform/graphics/MediaPlayer.cpp ('k') | Source/modules/mediasource/MediaSource.h » ('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) 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 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 25 matching lines...) Expand all
36 class IntSize; 36 class IntSize;
37 class PlatformTextTrack; 37 class PlatformTextTrack;
38 38
39 class MediaPlayerPrivateInterface { 39 class MediaPlayerPrivateInterface {
40 WTF_MAKE_NONCOPYABLE(MediaPlayerPrivateInterface); WTF_MAKE_FAST_ALLOCATED; 40 WTF_MAKE_NONCOPYABLE(MediaPlayerPrivateInterface); WTF_MAKE_FAST_ALLOCATED;
41 public: 41 public:
42 MediaPlayerPrivateInterface() { } 42 MediaPlayerPrivateInterface() { }
43 virtual ~MediaPlayerPrivateInterface() { } 43 virtual ~MediaPlayerPrivateInterface() { }
44 44
45 virtual void load(const String& url) = 0; 45 virtual void load(const String& url) = 0;
46 virtual void load(const String& url, PassRefPtr<MediaSource>) = 0; 46 virtual void load(const String& url, PassRefPtr<WebKitMediaSource>) = 0;
47 virtual void cancelLoad() = 0; 47 virtual void cancelLoad() = 0;
48 48
49 virtual void prepareToPlay() { } 49 virtual void prepareToPlay() { }
50 virtual PlatformMedia platformMedia() const { return NoPlatformMedia; } 50 virtual PlatformMedia platformMedia() const { return NoPlatformMedia; }
51 virtual PlatformLayer* platformLayer() const { return 0; } 51 virtual PlatformLayer* platformLayer() const { return 0; }
52 52
53 virtual void play() = 0; 53 virtual void play() = 0;
54 virtual void pause() = 0; 54 virtual void pause() = 0;
55 55
56 virtual bool supportsFullscreen() const { return false; } 56 virtual bool supportsFullscreen() const { return false; }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 #if USE(PLATFORM_TEXT_TRACK_MENU) 164 #if USE(PLATFORM_TEXT_TRACK_MENU)
165 virtual bool implementsTextTrackControls() const { return false; } 165 virtual bool implementsTextTrackControls() const { return false; }
166 virtual PassRefPtr<PlatformTextTrackMenuInterface> textTrackMenu() { return 0; } 166 virtual PassRefPtr<PlatformTextTrackMenuInterface> textTrackMenu() { return 0; }
167 #endif 167 #endif
168 168
169 }; 169 };
170 170
171 } 171 }
172 172
173 #endif 173 #endif
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/MediaPlayer.cpp ('k') | Source/modules/mediasource/MediaSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698