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

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

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments Created 4 years, 8 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 class WebDataSource; 72 class WebDataSource;
73 class WebEncryptedMediaClient; 73 class WebEncryptedMediaClient;
74 class WebExternalPopupMenu; 74 class WebExternalPopupMenu;
75 class WebExternalPopupMenuClient; 75 class WebExternalPopupMenuClient;
76 class WebFormElement; 76 class WebFormElement;
77 class WebGeolocationClient; 77 class WebGeolocationClient;
78 class WebInstalledAppClient; 78 class WebInstalledAppClient;
79 class WebMediaPlayer; 79 class WebMediaPlayer;
80 class WebMediaPlayerClient; 80 class WebMediaPlayerClient;
81 class WebMediaPlayerEncryptedMediaClient; 81 class WebMediaPlayerEncryptedMediaClient;
82 class WebMediaPlayerSource;
82 class WebMediaSession; 83 class WebMediaSession;
84 class WebMediaStream;
83 class WebMIDIClient; 85 class WebMIDIClient;
84 class WebNotificationPermissionCallback; 86 class WebNotificationPermissionCallback;
85 class WebPermissionClient; 87 class WebPermissionClient;
86 class WebServiceWorkerProvider; 88 class WebServiceWorkerProvider;
87 class WebSocketHandle; 89 class WebSocketHandle;
88 class WebPlugin; 90 class WebPlugin;
89 class WebPresentationClient; 91 class WebPresentationClient;
90 class WebPushClient; 92 class WebPushClient;
91 class WebRTCPeerConnectionHandler; 93 class WebRTCPeerConnectionHandler;
92 class WebScreenOrientationClient; 94 class WebScreenOrientationClient;
(...skipping 15 matching lines...) Expand all
108 110
109 class WebFrameClient { 111 class WebFrameClient {
110 public: 112 public:
111 // Factory methods ----------------------------------------------------- 113 // Factory methods -----------------------------------------------------
112 114
113 // May return null. 115 // May return null.
114 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 116 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
115 117
116 // May return null. 118 // May return null.
117 // WebContentDecryptionModule* may be null if one has not yet been set. 119 // WebContentDecryptionModule* may be null if one has not yet been set.
118 virtual WebMediaPlayer* createMediaPlayer(const WebURL&, WebMediaPlayerClien t*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModule*, const WebS tring& sinkId, WebMediaSession*) { return 0; } 120 virtual WebMediaPlayer* createMediaPlayer(const WebMediaPlayerSource&, WebMe diaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModul e*, const WebString& sinkId, WebMediaSession*) { return 0; }
119 121
120 // May return null. 122 // May return null.
121 virtual WebMediaSession* createMediaSession() { return 0; } 123 virtual WebMediaSession* createMediaSession() { return 0; }
122 124
123 // May return null. 125 // May return null.
124 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) { return 0; } 126 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) { return 0; }
125 127
126 // May return null. 128 // May return null.
127 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0; } 129 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0; }
128 130
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 // This method takes ownership of the callbacks pointer. 725 // This method takes ownership of the callbacks pointer.
724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 726 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
725 727
726 protected: 728 protected:
727 virtual ~WebFrameClient() { } 729 virtual ~WebFrameClient() { }
728 }; 730 };
729 731
730 } // namespace blink 732 } // namespace blink
731 733
732 #endif 734 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698