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

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

Issue 1055503002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added separate interface for EncryptedMedia Created 5 years, 7 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 class WebContentDecryptionModule; 63 class WebContentDecryptionModule;
64 class WebCookieJar; 64 class WebCookieJar;
65 class WebDataSource; 65 class WebDataSource;
66 class WebEncryptedMediaClient; 66 class WebEncryptedMediaClient;
67 class WebExternalPopupMenu; 67 class WebExternalPopupMenu;
68 class WebExternalPopupMenuClient; 68 class WebExternalPopupMenuClient;
69 class WebFormElement; 69 class WebFormElement;
70 class WebGeolocationClient; 70 class WebGeolocationClient;
71 class WebMediaPlayer; 71 class WebMediaPlayer;
72 class WebMediaPlayerClient; 72 class WebMediaPlayerClient;
73 class WebMediaPlayerEncryptedMediaClient;
73 class WebMIDIClient; 74 class WebMIDIClient;
74 class WebNotificationPermissionCallback; 75 class WebNotificationPermissionCallback;
75 class WebPermissionClient; 76 class WebPermissionClient;
76 class WebServiceWorkerProvider; 77 class WebServiceWorkerProvider;
77 class WebSocketHandle; 78 class WebSocketHandle;
78 class WebPlugin; 79 class WebPlugin;
79 class WebPluginPlaceholder; 80 class WebPluginPlaceholder;
80 class WebPresentationClient; 81 class WebPresentationClient;
81 class WebPushClient; 82 class WebPushClient;
82 class WebRTCPeerConnectionHandler; 83 class WebRTCPeerConnectionHandler;
(...skipping 17 matching lines...) Expand all
100 // Factory methods ----------------------------------------------------- 101 // Factory methods -----------------------------------------------------
101 102
102 // May return null. 103 // May return null.
103 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; } 104 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; }
104 105
105 // May return null. 106 // May return null.
106 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 107 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
107 108
108 // May return null. 109 // May return null.
109 // WebContentDecryptionModule* may be null if one has not yet been set. 110 // WebContentDecryptionModule* may be null if one has not yet been set.
110 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } 111 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
111 112
112 // May return null. 113 // May return null.
113 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 114 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
114 115
115 // May return null. 116 // May return null.
116 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 117 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
117 118
118 // May return null. 119 // May return null.
119 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } 120 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; }
120 121
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 // Access the embedder API for permission client. 640 // Access the embedder API for permission client.
640 virtual WebPermissionClient* permissionClient() { return 0; } 641 virtual WebPermissionClient* permissionClient() { return 0; }
641 642
642 protected: 643 protected:
643 virtual ~WebFrameClient() { } 644 virtual ~WebFrameClient() { }
644 }; 645 };
645 646
646 } // namespace blink 647 } // namespace blink
647 648
648 #endif 649 #endif
OLDNEW
« Source/web/FrameLoaderClientImpl.cpp ('K') | « public/platform/WebMediaPlayerEncryptedMediaClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698