| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 class WebPlugin; | 77 class WebPlugin; |
| 78 class WebPluginPlaceholder; | 78 class WebPluginPlaceholder; |
| 79 class WebPresentationClient; | 79 class WebPresentationClient; |
| 80 class WebPushClient; | 80 class WebPushClient; |
| 81 class WebRTCPeerConnectionHandler; | 81 class WebRTCPeerConnectionHandler; |
| 82 class WebScreenOrientationClient; | 82 class WebScreenOrientationClient; |
| 83 class WebString; | 83 class WebString; |
| 84 class WebURL; | 84 class WebURL; |
| 85 class WebURLResponse; | 85 class WebURLResponse; |
| 86 class WebUserMediaClient; | 86 class WebUserMediaClient; |
| 87 class WebWorkerContentSettingsClientProxy; | 87 class WebWorkerPermissionClientProxy; |
| 88 class WebWorkerPermissionClientProxy; // Required by embedder to compile. | |
| 89 struct WebColorSuggestion; | 88 struct WebColorSuggestion; |
| 90 struct WebConsoleMessage; | 89 struct WebConsoleMessage; |
| 91 struct WebContextMenuData; | 90 struct WebContextMenuData; |
| 92 struct WebPluginParams; | 91 struct WebPluginParams; |
| 93 struct WebPopupMenuInfo; | 92 struct WebPopupMenuInfo; |
| 94 struct WebRect; | 93 struct WebRect; |
| 95 struct WebTransitionElementData; | 94 struct WebTransitionElementData; |
| 96 struct WebURLError; | 95 struct WebURLError; |
| 97 | 96 |
| 98 class WebFrameClient { | 97 class WebFrameClient { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 109 // WebContentDecryptionModule* may be null if one has not yet been set. | 108 // WebContentDecryptionModule* may be null if one has not yet been set. |
| 110 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web
MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } | 109 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web
MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
| 111 | 110 |
| 112 // May return null. | 111 // May return null. |
| 113 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } | 112 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*,
WebApplicationCacheHostClient*) { return 0; } |
| 114 | 113 |
| 115 // May return null. | 114 // May return null. |
| 116 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } | 115 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame*
frame) { return 0; } |
| 117 | 116 |
| 118 // May return null. | 117 // May return null. |
| 119 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie
ntProxy(WebLocalFrame*) { return 0; } | 118 virtual WebWorkerPermissionClientProxy* createWorkerPermissionClientProxy(We
bLocalFrame*) { return 0; } |
| 120 | 119 |
| 121 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 120 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
| 122 // client is responsible for rendering the contents of the popup menu. | 121 // client is responsible for rendering the contents of the popup menu. |
| 123 virtual WebExternalPopupMenu* createExternalPopupMenu( | 122 virtual WebExternalPopupMenu* createExternalPopupMenu( |
| 124 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } | 123 const WebPopupMenuInfo&, WebExternalPopupMenuClient*) { return 0; } |
| 125 | 124 |
| 126 | 125 |
| 127 // Services ------------------------------------------------------------ | 126 // Services ------------------------------------------------------------ |
| 128 | 127 |
| 129 // A frame specific cookie jar. May return null, in which case | 128 // A frame specific cookie jar. May return null, in which case |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 }; | 629 }; |
| 631 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 630 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 632 | 631 |
| 633 protected: | 632 protected: |
| 634 virtual ~WebFrameClient() { } | 633 virtual ~WebFrameClient() { } |
| 635 }; | 634 }; |
| 636 | 635 |
| 637 } // namespace blink | 636 } // namespace blink |
| 638 | 637 |
| 639 #endif | 638 #endif |
| OLD | NEW |