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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 15 matching lines...) Expand all Loading... | |
100 class WebFrameClient { | 101 class WebFrameClient { |
101 public: | 102 public: |
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 // TODO(srirama): Remove this method once blink updated. |
ddorwin
2015/07/09 18:37:50
blink or Chromium?
Srirama
2015/07/10 15:17:44
Done.
| |
111 // WebContentDecryptionModule* may be null if one has not yet been set. | |
112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } | 112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
113 | 113 |
114 // May return null. | 114 // May return null. |
115 // WebContentDecryptionModule* may be null if one has not yet been set. | |
116 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } | |
117 | |
118 // May return null. | |
115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } | 119 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } |
116 | 120 |
117 // May return null. | 121 // May return null. |
118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } | 122 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } |
119 | 123 |
120 // May return null. | 124 // May return null. |
121 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } | 125 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } |
122 | 126 |
123 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 127 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
124 // client is responsible for rendering the contents of the popup menu. | 128 // client is responsible for rendering the contents of the popup menu. |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
643 // App Banners --------------------------------------------------------- | 647 // App Banners --------------------------------------------------------- |
644 virtual WebAppBannerClient* appBannerClient() { return 0; } | 648 virtual WebAppBannerClient* appBannerClient() { return 0; } |
645 | 649 |
646 protected: | 650 protected: |
647 virtual ~WebFrameClient() { } | 651 virtual ~WebFrameClient() { } |
648 }; | 652 }; |
649 | 653 |
650 } // namespace blink | 654 } // namespace blink |
651 | 655 |
652 #endif | 656 #endif |
OLD | NEW |