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

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: Address comments Created 5 years, 5 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class WebContentDecryptionModule; 65 class WebContentDecryptionModule;
66 class WebCookieJar; 66 class WebCookieJar;
67 class WebDataSource; 67 class WebDataSource;
68 class WebEncryptedMediaClient; 68 class WebEncryptedMediaClient;
69 class WebExternalPopupMenu; 69 class WebExternalPopupMenu;
70 class WebExternalPopupMenuClient; 70 class WebExternalPopupMenuClient;
71 class WebFormElement; 71 class WebFormElement;
72 class WebGeolocationClient; 72 class WebGeolocationClient;
73 class WebMediaPlayer; 73 class WebMediaPlayer;
74 class WebMediaPlayerClient; 74 class WebMediaPlayerClient;
75 class WebMediaPlayerEncryptedMediaClient;
75 class WebMIDIClient; 76 class WebMIDIClient;
76 class WebNotificationPermissionCallback; 77 class WebNotificationPermissionCallback;
77 class WebPermissionClient; 78 class WebPermissionClient;
78 class WebServiceWorkerProvider; 79 class WebServiceWorkerProvider;
79 class WebSocketHandle; 80 class WebSocketHandle;
80 class WebPlugin; 81 class WebPlugin;
81 class WebPluginPlaceholder; 82 class WebPluginPlaceholder;
82 class WebPresentationClient; 83 class WebPresentationClient;
83 class WebPushClient; 84 class WebPushClient;
84 class WebRTCPeerConnectionHandler; 85 class WebRTCPeerConnectionHandler;
(...skipping 17 matching lines...) Expand all
102 // Factory methods ----------------------------------------------------- 103 // Factory methods -----------------------------------------------------
103 104
104 // May return null. 105 // May return null.
105 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; } 106 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; }
106 107
107 // May return null. 108 // May return null.
108 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 109 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
109 110
110 // May return null. 111 // May return null.
111 // WebContentDecryptionModule* may be null if one has not yet been set. 112 // WebContentDecryptionModule* may be null if one has not yet been set.
112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } 113 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
ddorwin 2015/07/06 20:43:01 You'll need to have two versions of this method, r
Srirama 2015/07/09 15:19:37 Yes, that will be done in separate CL (that will b
113 114
114 // May return null. 115 // May return null.
115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 116 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
116 117
117 // May return null. 118 // May return null.
118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 119 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
119 120
120 // May return null. 121 // May return null.
121 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } 122 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; }
122 123
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 // App Banners --------------------------------------------------------- 647 // App Banners ---------------------------------------------------------
647 virtual WebAppBannerClient* appBannerClient() { return 0; } 648 virtual WebAppBannerClient* appBannerClient() { return 0; }
648 649
649 protected: 650 protected:
650 virtual ~WebFrameClient() { } 651 virtual ~WebFrameClient() { }
651 }; 652 };
652 653
653 } // namespace blink 654 } // namespace blink
654 655
655 #endif 656 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698