Chromium Code Reviews| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 92 class WebPresentationClient; | 92 class WebPresentationClient; |
| 93 class WebPushClient; | 93 class WebPushClient; |
| 94 class WebRTCPeerConnectionHandler; | 94 class WebRTCPeerConnectionHandler; |
| 95 class WebRelatedAppsFetcher; | 95 class WebRelatedAppsFetcher; |
| 96 class WebScreenOrientationClient; | 96 class WebScreenOrientationClient; |
| 97 class WebString; | 97 class WebString; |
| 98 class WebURL; | 98 class WebURL; |
| 99 class WebURLResponse; | 99 class WebURLResponse; |
| 100 class WebUserMediaClient; | 100 class WebUserMediaClient; |
| 101 class WebWorkerContentSettingsClientProxy; | 101 class WebWorkerContentSettingsClientProxy; |
| 102 class WebWorkerFetchContext; | |
| 102 struct WebColorSuggestion; | 103 struct WebColorSuggestion; |
| 103 struct WebConsoleMessage; | 104 struct WebConsoleMessage; |
| 104 struct WebContextMenuData; | 105 struct WebContextMenuData; |
| 105 struct WebPluginParams; | 106 struct WebPluginParams; |
| 106 struct WebPopupMenuInfo; | 107 struct WebPopupMenuInfo; |
| 107 struct WebRect; | 108 struct WebRect; |
| 108 struct WebURLError; | 109 struct WebURLError; |
| 109 | 110 |
| 110 class BLINK_EXPORT WebFrameClient { | 111 class BLINK_EXPORT WebFrameClient { |
| 111 public: | 112 public: |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 139 | 140 |
| 140 // May return null. | 141 // May return null. |
| 141 virtual WebServiceWorkerProvider* CreateServiceWorkerProvider() { return 0; } | 142 virtual WebServiceWorkerProvider* CreateServiceWorkerProvider() { return 0; } |
| 142 | 143 |
| 143 // May return null. | 144 // May return null. |
| 144 virtual WebWorkerContentSettingsClientProxy* | 145 virtual WebWorkerContentSettingsClientProxy* |
| 145 CreateWorkerContentSettingsClientProxy() { | 146 CreateWorkerContentSettingsClientProxy() { |
| 146 return 0; | 147 return 0; |
| 147 } | 148 } |
| 148 | 149 |
| 150 // Returns a new WebWorkerFetchContext for a dedicated (or shared) worker. | |
| 151 // Ownership of the returned object is transferred to the caller. This is used | |
| 152 // only when off-main-thread-fetch is enabled. | |
| 153 virtual WebWorkerFetchContext* CreateWorkerFetchContext() { return 0; } | |
|
kinuko
2017/04/19 11:08:14
nit: return nullptr for new code
horo
2017/04/19 13:52:27
Done.
| |
| 154 | |
| 149 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 155 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
| 150 // client is responsible for rendering the contents of the popup menu. | 156 // client is responsible for rendering the contents of the popup menu. |
| 151 virtual WebExternalPopupMenu* CreateExternalPopupMenu( | 157 virtual WebExternalPopupMenu* CreateExternalPopupMenu( |
| 152 const WebPopupMenuInfo&, | 158 const WebPopupMenuInfo&, |
| 153 WebExternalPopupMenuClient*) { | 159 WebExternalPopupMenuClient*) { |
| 154 return 0; | 160 return 0; |
| 155 } | 161 } |
| 156 | 162 |
| 157 // Services ------------------------------------------------------------ | 163 // Services ------------------------------------------------------------ |
| 158 | 164 |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 757 // Overwrites the given URL to use an HTML5 embed if possible. | 763 // Overwrites the given URL to use an HTML5 embed if possible. |
| 758 // An empty URL is returned if the URL is not overriden. | 764 // An empty URL is returned if the URL is not overriden. |
| 759 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 765 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 760 return WebURL(); | 766 return WebURL(); |
| 761 } | 767 } |
| 762 }; | 768 }; |
| 763 | 769 |
| 764 } // namespace blink | 770 } // namespace blink |
| 765 | 771 |
| 766 #endif | 772 #endif |
| OLD | NEW |