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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaPlayerEncryptedMediaClient.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef WebMediaPlayerEncryptedMediaClient_h 31 #ifndef WebMediaPlayerEncryptedMediaClient_h
32 #define WebMediaPlayerEncryptedMediaClient_h 32 #define WebMediaPlayerEncryptedMediaClient_h
33 33
34 #include "WebCommon.h" 34 #include "WebCommon.h"
35 #include "WebEncryptedMediaTypes.h" 35 #include "WebEncryptedMediaTypes.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class WebString;
40 class WebURL;
41
42 class BLINK_PLATFORM_EXPORT WebMediaPlayerEncryptedMediaClient { 39 class BLINK_PLATFORM_EXPORT WebMediaPlayerEncryptedMediaClient {
43 public: 40 public:
44 virtual void encrypted(WebEncryptedMediaInitDataType, 41 virtual void encrypted(WebEncryptedMediaInitDataType,
45 const unsigned char* initData, 42 const unsigned char* initData,
46 unsigned initDataLength) = 0; 43 unsigned initDataLength) = 0;
47 virtual void didBlockPlaybackWaitingForKey() = 0; 44 virtual void didBlockPlaybackWaitingForKey() = 0;
48 virtual void didResumePlaybackBlockedForKey() = 0; 45 virtual void didResumePlaybackBlockedForKey() = 0;
49 46
50 protected: 47 protected:
51 ~WebMediaPlayerEncryptedMediaClient() {} 48 ~WebMediaPlayerEncryptedMediaClient() {}
52 }; 49 };
53 50
54 } // namespace blink 51 } // namespace blink
55 52
56 #endif 53 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebLayerTreeView.h ('k') | third_party/WebKit/public/platform/WebRTCStatsRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698