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

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: Move provideMediaKeysTo() to MediaKeysController 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
« Source/web/MediaKeysClientImpl.cpp ('K') | « Source/web/web.gypi ('k') | no next file » | 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) 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "public/platform/WebStorageQuotaType.h" 46 #include "public/platform/WebStorageQuotaType.h"
47 #include "public/platform/WebURLError.h" 47 #include "public/platform/WebURLError.h"
48 #include "public/platform/WebURLRequest.h" 48 #include "public/platform/WebURLRequest.h"
49 #include <v8.h> 49 #include <v8.h>
50 50
51 namespace blink { 51 namespace blink {
52 52
53 class WebApplicationCacheHost; 53 class WebApplicationCacheHost;
54 class WebApplicationCacheHostClient; 54 class WebApplicationCacheHostClient;
55 class WebCachedURLRequest; 55 class WebCachedURLRequest;
56 class WebContentDecryptionModule;
56 class WebCookieJar; 57 class WebCookieJar;
57 class WebDataSource; 58 class WebDataSource;
58 class WebDOMEvent; 59 class WebDOMEvent;
59 class WebFormElement; 60 class WebFormElement;
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;
65 class WebNode; 66 class WebNode;
(...skipping 17 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(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 88 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
88 89
89 // May return null. 90 // May return null.
90 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*) { return 0; } 91 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*) { return 0; }
91 92
92 // May return null. 93 // May return null.
94 virtual WebContentDecryptionModule* createContentDecryptionModule(WebLocalFr ame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; }
95
96 // May return null.
93 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 97 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { 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(WebLocalFrame* , WebServiceWorkerProviderClient*) { return 0; } 101 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* , WebServiceWorkerProviderClient*) { return 0; }
98 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return createServiceWorkerProvider(frame, 0); } 102 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return createServiceWorkerProvider(frame, 0); }
99 103
100 // May return null. 104 // May return null.
101 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We bLocalFrame*) { return 0; } 105 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We bLocalFrame*) { return 0; }
102 106
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 403 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
400 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 404 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
401 405
402 protected: 406 protected:
403 ~WebFrameClient() { } 407 ~WebFrameClient() { }
404 }; 408 };
405 409
406 } // namespace blink 410 } // namespace blink
407 411
408 #endif 412 #endif
OLDNEW
« Source/web/MediaKeysClientImpl.cpp ('K') | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698