| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 class WebCookieJar; | 67 class WebCookieJar; |
| 68 class WebDataSource; | 68 class WebDataSource; |
| 69 class WebEncryptedMediaClient; | 69 class WebEncryptedMediaClient; |
| 70 class WebExternalPopupMenu; | 70 class WebExternalPopupMenu; |
| 71 class WebExternalPopupMenuClient; | 71 class WebExternalPopupMenuClient; |
| 72 class WebFormElement; | 72 class WebFormElement; |
| 73 class WebGeolocationClient; | 73 class WebGeolocationClient; |
| 74 class WebMediaPlayer; | 74 class WebMediaPlayer; |
| 75 class WebMediaPlayerClient; | 75 class WebMediaPlayerClient; |
| 76 class WebMediaPlayerEncryptedMediaClient; | 76 class WebMediaPlayerEncryptedMediaClient; |
| 77 class WebMediaSession; |
| 77 class WebMIDIClient; | 78 class WebMIDIClient; |
| 78 class WebNotificationPermissionCallback; | 79 class WebNotificationPermissionCallback; |
| 79 class WebPermissionClient; | 80 class WebPermissionClient; |
| 80 class WebServiceWorkerProvider; | 81 class WebServiceWorkerProvider; |
| 81 class WebSocketHandle; | 82 class WebSocketHandle; |
| 82 class WebPlugin; | 83 class WebPlugin; |
| 83 class WebPresentationClient; | 84 class WebPresentationClient; |
| 84 class WebPushClient; | 85 class WebPushClient; |
| 85 class WebRTCPeerConnectionHandler; | 86 class WebRTCPeerConnectionHandler; |
| 86 class WebScreenOrientationClient; | 87 class WebScreenOrientationClient; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 102 | 103 |
| 103 class WebFrameClient { | 104 class WebFrameClient { |
| 104 public: | 105 public: |
| 105 // Factory methods ----------------------------------------------------- | 106 // Factory methods ----------------------------------------------------- |
| 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*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod
ule*) { return 0; } | 113 // WebMediaSession* may be null if the player should be part of the default
media session. |
| 114 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web
MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod
ule*, WebMediaSession*) { return 0; } |
| 115 |
| 116 // May return null. |
| 117 virtual WebMediaSession* createMediaSession(WebLocalFrame*) { return 0; } |
| 113 | 118 |
| 114 // May return null. | 119 // May return null. |
| 115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } | 120 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } |
| 116 | 121 |
| 117 // May return null. | 122 // May return null. |
| 118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } | 123 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } |
| 119 | 124 |
| 120 // May return null. | 125 // May return null. |
| 121 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame* frame) { return 0; } | 126 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame* frame) { return 0; } |
| 122 | 127 |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 // WebUSB -------------------------------------------------------------- | 667 // WebUSB -------------------------------------------------------------- |
| 663 virtual WebUSBClient* usbClient() { return nullptr; } | 668 virtual WebUSBClient* usbClient() { return nullptr; } |
| 664 | 669 |
| 665 protected: | 670 protected: |
| 666 virtual ~WebFrameClient() { } | 671 virtual ~WebFrameClient() { } |
| 667 }; | 672 }; |
| 668 | 673 |
| 669 } // namespace blink | 674 } // namespace blink |
| 670 | 675 |
| 671 #endif | 676 #endif |
| OLD | NEW |