OLD | NEW |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 class WebContentDecryptionModule; | 69 class WebContentDecryptionModule; |
70 class WebCookieJar; | 70 class WebCookieJar; |
71 class WebCString; | 71 class WebCString; |
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 WebMediaElementSource; |
79 class WebMediaPlayerClient; | 80 class WebMediaPlayerClient; |
80 class WebMediaPlayerEncryptedMediaClient; | 81 class WebMediaPlayerEncryptedMediaClient; |
81 class WebMediaSession; | 82 class WebMediaSession; |
| 83 class WebMediaStream; |
82 class WebMIDIClient; | 84 class WebMIDIClient; |
83 class WebNotificationPermissionCallback; | 85 class WebNotificationPermissionCallback; |
84 class WebPermissionClient; | 86 class WebPermissionClient; |
85 class WebServiceWorkerProvider; | 87 class WebServiceWorkerProvider; |
86 class WebSocketHandle; | 88 class WebSocketHandle; |
87 class WebPlugin; | 89 class WebPlugin; |
88 class WebPresentationClient; | 90 class WebPresentationClient; |
89 class WebPushClient; | 91 class WebPushClient; |
90 class WebRTCPeerConnectionHandler; | 92 class WebRTCPeerConnectionHandler; |
91 class WebScreenOrientationClient; | 93 class WebScreenOrientationClient; |
(...skipping 15 matching lines...) Expand all Loading... |
107 | 109 |
108 class WebFrameClient { | 110 class WebFrameClient { |
109 public: | 111 public: |
110 // Factory methods ----------------------------------------------------- | 112 // Factory methods ----------------------------------------------------- |
111 | 113 |
112 // May return null. | 114 // May return null. |
113 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re
turn 0; } | 115 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re
turn 0; } |
114 | 116 |
115 // May return null. | 117 // May return null. |
116 // WebContentDecryptionModule* may be null if one has not yet been set. | 118 // WebContentDecryptionModule* may be null if one has not yet been set. |
117 virtual WebMediaPlayer* createMediaPlayer(WebMediaPlayer::LoadType, const We
bURL&, WebMediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDec
ryptionModule*, const WebString& sinkId, WebMediaSession*) { return 0; } | 119 virtual WebMediaPlayer* createMediaPlayer(WebMediaPlayer::LoadType, const We
bMediaElementSource&, WebMediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*
, WebContentDecryptionModule*, const WebString& sinkId, WebMediaSession*) { retu
rn 0; } |
118 | 120 |
119 // May return null. | 121 // May return null. |
120 virtual WebMediaSession* createMediaSession() { return 0; } | 122 virtual WebMediaSession* createMediaSession() { return 0; } |
121 | 123 |
122 // May return null. | 124 // May return null. |
123 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa
cheHostClient*) { return 0; } | 125 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa
cheHostClient*) { return 0; } |
124 | 126 |
125 // May return null. | 127 // May return null. |
126 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0;
} | 128 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0;
} |
127 | 129 |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 // This method takes ownership of the callbacks pointer. | 722 // This method takes ownership of the callbacks pointer. |
721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 723 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
722 | 724 |
723 protected: | 725 protected: |
724 virtual ~WebFrameClient() { } | 726 virtual ~WebFrameClient() { } |
725 }; | 727 }; |
726 | 728 |
727 } // namespace blink | 729 } // namespace blink |
728 | 730 |
729 #endif | 731 #endif |
OLD | NEW |