| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #include "public/platform/WebInsecureRequestPolicy.h" | 58 #include "public/platform/WebInsecureRequestPolicy.h" |
| 59 #include "public/platform/WebLoadingBehaviorFlag.h" | 59 #include "public/platform/WebLoadingBehaviorFlag.h" |
| 60 #include "public/platform/WebPageVisibilityState.h" | 60 #include "public/platform/WebPageVisibilityState.h" |
| 61 #include "public/platform/WebSecurityOrigin.h" | 61 #include "public/platform/WebSecurityOrigin.h" |
| 62 #include "public/platform/WebSetSinkIdCallbacks.h" | 62 #include "public/platform/WebSetSinkIdCallbacks.h" |
| 63 #include "public/platform/WebSourceLocation.h" | 63 #include "public/platform/WebSourceLocation.h" |
| 64 #include "public/platform/WebStorageQuotaCallbacks.h" | 64 #include "public/platform/WebStorageQuotaCallbacks.h" |
| 65 #include "public/platform/WebStorageQuotaType.h" | 65 #include "public/platform/WebStorageQuotaType.h" |
| 66 #include "public/platform/WebURLError.h" | 66 #include "public/platform/WebURLError.h" |
| 67 #include "public/platform/WebURLRequest.h" | 67 #include "public/platform/WebURLRequest.h" |
| 68 #include "public/platform/WebWorkerFetchContext.h" |
| 68 #include "v8/include/v8.h" | 69 #include "v8/include/v8.h" |
| 69 | 70 |
| 70 namespace blink { | 71 namespace blink { |
| 71 | 72 |
| 72 enum class WebTreeScopeType; | 73 enum class WebTreeScopeType; |
| 73 class WebApplicationCacheHost; | 74 class WebApplicationCacheHost; |
| 74 class WebApplicationCacheHostClient; | 75 class WebApplicationCacheHostClient; |
| 75 class WebColorChooser; | 76 class WebColorChooser; |
| 76 class WebColorChooserClient; | 77 class WebColorChooserClient; |
| 77 class WebContentDecryptionModule; | 78 class WebContentDecryptionModule; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 worker. Ownership of |
| 151 // the returned object is transferred to the caller. This is used only when |
| 152 // off-main-thread-fetch is enabled. |
| 153 virtual std::unique_ptr<WebWorkerFetchContext> CreateWorkerFetchContext() { |
| 154 return nullptr; |
| 155 } |
| 156 |
| 149 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the | 157 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the |
| 150 // client is responsible for rendering the contents of the popup menu. | 158 // client is responsible for rendering the contents of the popup menu. |
| 151 virtual WebExternalPopupMenu* CreateExternalPopupMenu( | 159 virtual WebExternalPopupMenu* CreateExternalPopupMenu( |
| 152 const WebPopupMenuInfo&, | 160 const WebPopupMenuInfo&, |
| 153 WebExternalPopupMenuClient*) { | 161 WebExternalPopupMenuClient*) { |
| 154 return 0; | 162 return 0; |
| 155 } | 163 } |
| 156 | 164 |
| 157 // Services ------------------------------------------------------------ | 165 // Services ------------------------------------------------------------ |
| 158 | 166 |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 // Overwrites the given URL to use an HTML5 embed if possible. | 774 // Overwrites the given URL to use an HTML5 embed if possible. |
| 767 // An empty URL is returned if the URL is not overriden. | 775 // An empty URL is returned if the URL is not overriden. |
| 768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 776 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 769 return WebURL(); | 777 return WebURL(); |
| 770 } | 778 } |
| 771 }; | 779 }; |
| 772 | 780 |
| 773 } // namespace blink | 781 } // namespace blink |
| 774 | 782 |
| 775 #endif | 783 #endif |
| OLD | NEW |