Index: public/platform/WebExternalBitmap.h |
diff --git a/public/webpage/WebMediaSource.h b/public/platform/WebExternalBitmap.h |
similarity index 86% |
copy from public/webpage/WebMediaSource.h |
copy to public/platform/WebExternalBitmap.h |
index 424a687dfa381049240e769de9e23f58da6eb576..f1fddc5a05e422fb42a9817269b5a37b42a78038 100644 |
--- a/public/webpage/WebMediaSource.h |
+++ b/public/platform/WebExternalBitmap.h |
@@ -28,22 +28,20 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebMediaSource_h |
-#define WebMediaSource_h |
+#ifndef WebExternalBitmap_h |
+#define WebExternalBitmap_h |
-#include "../platform/WebURL.h" |
-#include "WebTimeRange.h" |
+#include "WebSize.h" |
namespace WebKit { |
-class WebMediaSourceClient; |
- |
-class WebMediaSource { |
+class WebExternalBitmap { |
public: |
- virtual ~WebMediaSource() { }; |
- virtual void open(WebMediaSourceClient*) = 0; |
+ virtual WebSize getSize() = 0; |
+ virtual void setSize(WebSize) = 0; |
Ken Russell (switch to Gerrit)
2013/07/02 11:22:12
Probably should document that this invalidates any
jbauman
2013/07/02 19:43:32
Ok.
|
+ virtual void* getPointer() = 0; |
Ken Russell (switch to Gerrit)
2013/07/02 11:22:12
Would it be better to have lock/unlock semantics f
jbauman
2013/07/02 19:43:32
No, unlock wouldn't do anything, so that would jus
|
}; |
} // namespace WebKit |
-#endif |
+#endif // WebExternalBitmap_h |