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

Side by Side Diff: third_party/WebKit/WebCore/platform/graphics/MediaPlayerPrivate.h

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 virtual float maxTimeSeekable() const = 0; 71 virtual float maxTimeSeekable() const = 0;
72 virtual float maxTimeBuffered() const = 0; 72 virtual float maxTimeBuffered() const = 0;
73 73
74 virtual int dataRate() const = 0; 74 virtual int dataRate() const = 0;
75 75
76 virtual bool totalBytesKnown() const { return totalBytes() > 0; } 76 virtual bool totalBytesKnown() const { return totalBytes() > 0; }
77 virtual unsigned totalBytes() const = 0; 77 virtual unsigned totalBytes() const = 0;
78 virtual unsigned bytesLoaded() const = 0; 78 virtual unsigned bytesLoaded() const = 0;
79 79
80 virtual void setRect(const IntRect&) = 0; 80 virtual void setSize(const IntSize&) = 0;
81 81
82 virtual void paint(GraphicsContext*, const IntRect&) = 0 ; 82 virtual void paint(GraphicsContext*, const IntRect&) = 0 ;
83 83
84 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO) 84 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
85 virtual void setPoster(const String& url) = 0; 85 virtual void setPoster(const String& url) = 0;
86 virtual void deliverNotification(MediaPlayerProxyNotificationType) = 0; 86 virtual void deliverNotification(MediaPlayerProxyNotificationType) = 0;
87 virtual void setMediaPlayerProxy(WebMediaPlayerProxy*) = 0; 87 virtual void setMediaPlayerProxy(WebMediaPlayerProxy*) = 0;
88 #endif 88 #endif
89 }; 89 };
90 90
91 } 91 }
92 92
93 #endif 93 #endif
94 #endif 94 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698