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

Side by Side Diff: public/web/WebFrameClient.h

Issue 195053004: Create Pepper-based CDM for EME WD (Blink changes) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changes Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "public/platform/WebStorageQuotaType.h" 45 #include "public/platform/WebStorageQuotaType.h"
46 #include "public/platform/WebURLError.h" 46 #include "public/platform/WebURLError.h"
47 #include "public/platform/WebURLRequest.h" 47 #include "public/platform/WebURLRequest.h"
48 #include <v8.h> 48 #include <v8.h>
49 49
50 namespace blink { 50 namespace blink {
51 51
52 class WebApplicationCacheHost; 52 class WebApplicationCacheHost;
53 class WebApplicationCacheHostClient; 53 class WebApplicationCacheHostClient;
54 class WebCachedURLRequest; 54 class WebCachedURLRequest;
55 class WebContentDecryptionModule;
55 class WebCookieJar; 56 class WebCookieJar;
56 class WebDataSource; 57 class WebDataSource;
57 class WebDOMEvent; 58 class WebDOMEvent;
58 class WebFormElement; 59 class WebFormElement;
59 class WebFrame; 60 class WebFrame;
60 class WebInputEvent; 61 class WebInputEvent;
61 class WebMediaPlayer; 62 class WebMediaPlayer;
62 class WebMediaPlayerClient; 63 class WebMediaPlayerClient;
63 class WebServiceWorkerProvider; 64 class WebServiceWorkerProvider;
64 class WebServiceWorkerProviderClient; 65 class WebServiceWorkerProviderClient;
(...skipping 18 matching lines...) Expand all
83 public: 84 public:
84 // Factory methods ----------------------------------------------------- 85 // Factory methods -----------------------------------------------------
85 86
86 // May return null. 87 // May return null.
87 virtual WebPlugin* createPlugin(WebFrame*, const WebPluginParams&) { return 0; } 88 virtual WebPlugin* createPlugin(WebFrame*, const WebPluginParams&) { return 0; }
88 89
89 // May return null. 90 // May return null.
90 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, const WebURL&, WebMedia PlayerClient*) { return 0; } 91 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, const WebURL&, WebMedia PlayerClient*) { return 0; }
91 92
92 // May return null. 93 // May return null.
94 virtual WebContentDecryptionModule* createContentDecryptionModule(WebFrame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; }
95
96 // May return null.
93 virtual WebApplicationCacheHost* createApplicationCacheHost(WebFrame*, WebAp plicationCacheHostClient*) { return 0; } 97 virtual WebApplicationCacheHost* createApplicationCacheHost(WebFrame*, WebAp plicationCacheHostClient*) { return 0; }
94 98
95 // May return null. Takes ownership of the client. 99 // May return null. Takes ownership of the client.
96 // FIXME: Deprecate the second argument. 100 // FIXME: Deprecate the second argument.
97 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame*, Web ServiceWorkerProviderClient*) { return 0; } 101 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame*, Web ServiceWorkerProviderClient*) { return 0; }
98 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame* fram e) { return createServiceWorkerProvider(frame, 0); } 102 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebFrame* fram e) { return createServiceWorkerProvider(frame, 0); }
99 103
100 // May return null. 104 // May return null.
101 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We bFrame*) { return 0; } 105 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We bFrame*) { return 0; }
102 106
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 397 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
394 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 398 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
395 399
396 protected: 400 protected:
397 ~WebFrameClient() { } 401 ~WebFrameClient() { }
398 }; 402 };
399 403
400 } // namespace blink 404 } // namespace blink
401 405
402 #endif 406 #endif
OLDNEW
« Source/modules/encryptedmedia/MediaKeysController.h ('K') | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698