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 29 matching lines...) Expand all Loading... |
40 #include "WebFrameOwnerProperties.h" | 40 #include "WebFrameOwnerProperties.h" |
41 #include "WebHistoryCommitType.h" | 41 #include "WebHistoryCommitType.h" |
42 #include "WebHistoryItem.h" | 42 #include "WebHistoryItem.h" |
43 #include "WebIconURL.h" | 43 #include "WebIconURL.h" |
44 #include "WebNavigationPolicy.h" | 44 #include "WebNavigationPolicy.h" |
45 #include "WebNavigationType.h" | 45 #include "WebNavigationType.h" |
46 #include "WebNavigatorContentUtilsClient.h" | 46 #include "WebNavigatorContentUtilsClient.h" |
47 #include "WebSandboxFlags.h" | 47 #include "WebSandboxFlags.h" |
48 #include "WebTextDirection.h" | 48 #include "WebTextDirection.h" |
49 #include "public/platform/BlameContext.h" | 49 #include "public/platform/BlameContext.h" |
| 50 #include "public/platform/WebApplicationCacheHost.h" |
50 #include "public/platform/WebColor.h" | 51 #include "public/platform/WebColor.h" |
51 #include "public/platform/WebCommon.h" | 52 #include "public/platform/WebCommon.h" |
52 #include "public/platform/WebContentSecurityPolicy.h" | 53 #include "public/platform/WebContentSecurityPolicy.h" |
53 #include "public/platform/WebContentSecurityPolicyStruct.h" | 54 #include "public/platform/WebContentSecurityPolicyStruct.h" |
54 #include "public/platform/WebEffectiveConnectionType.h" | 55 #include "public/platform/WebEffectiveConnectionType.h" |
55 #include "public/platform/WebFeaturePolicy.h" | 56 #include "public/platform/WebFeaturePolicy.h" |
56 #include "public/platform/WebFileSystem.h" | 57 #include "public/platform/WebFileSystem.h" |
57 #include "public/platform/WebFileSystemType.h" | 58 #include "public/platform/WebFileSystemType.h" |
58 #include "public/platform/WebInsecureRequestPolicy.h" | 59 #include "public/platform/WebInsecureRequestPolicy.h" |
59 #include "public/platform/WebLoadingBehaviorFlag.h" | 60 #include "public/platform/WebLoadingBehaviorFlag.h" |
60 #include "public/platform/WebPageVisibilityState.h" | 61 #include "public/platform/WebPageVisibilityState.h" |
61 #include "public/platform/WebSecurityOrigin.h" | 62 #include "public/platform/WebSecurityOrigin.h" |
62 #include "public/platform/WebSetSinkIdCallbacks.h" | 63 #include "public/platform/WebSetSinkIdCallbacks.h" |
63 #include "public/platform/WebSourceLocation.h" | 64 #include "public/platform/WebSourceLocation.h" |
64 #include "public/platform/WebStorageQuotaCallbacks.h" | 65 #include "public/platform/WebStorageQuotaCallbacks.h" |
65 #include "public/platform/WebStorageQuotaType.h" | 66 #include "public/platform/WebStorageQuotaType.h" |
66 #include "public/platform/WebURLError.h" | 67 #include "public/platform/WebURLError.h" |
67 #include "public/platform/WebURLRequest.h" | 68 #include "public/platform/WebURLRequest.h" |
68 #include "public/platform/WebWorkerFetchContext.h" | 69 #include "public/platform/WebWorkerFetchContext.h" |
| 70 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" |
69 #include "v8/include/v8.h" | 71 #include "v8/include/v8.h" |
70 | 72 |
71 namespace blink { | 73 namespace blink { |
72 | 74 |
73 enum class WebTreeScopeType; | 75 enum class WebTreeScopeType; |
74 class WebApplicationCacheHost; | 76 class WebApplicationCacheHost; |
75 class WebApplicationCacheHostClient; | 77 class WebApplicationCacheHostClient; |
76 class WebColorChooser; | 78 class WebColorChooser; |
77 class WebColorChooserClient; | 79 class WebColorChooserClient; |
78 class WebContentDecryptionModule; | 80 class WebContentDecryptionModule; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 WebMediaPlayerEncryptedMediaClient*, | 128 WebMediaPlayerEncryptedMediaClient*, |
127 WebContentDecryptionModule*, | 129 WebContentDecryptionModule*, |
128 const WebString& sink_id) { | 130 const WebString& sink_id) { |
129 return 0; | 131 return 0; |
130 } | 132 } |
131 | 133 |
132 // May return null. | 134 // May return null. |
133 virtual WebMediaSession* CreateMediaSession() { return 0; } | 135 virtual WebMediaSession* CreateMediaSession() { return 0; } |
134 | 136 |
135 // May return null. | 137 // May return null. |
136 virtual WebApplicationCacheHost* CreateApplicationCacheHost( | 138 virtual std::unique_ptr<WebApplicationCacheHost> CreateApplicationCacheHost( |
137 WebApplicationCacheHostClient*) { | 139 WebApplicationCacheHostClient*) { |
138 return 0; | 140 return nullptr; |
139 } | 141 } |
140 | 142 |
141 // May return null. | 143 // May return null. |
142 virtual WebServiceWorkerProvider* CreateServiceWorkerProvider() { return 0; } | 144 virtual std::unique_ptr<WebServiceWorkerProvider> |
| 145 CreateServiceWorkerProvider() { |
| 146 return nullptr; |
| 147 } |
143 | 148 |
144 // May return null. | 149 // May return null. |
145 virtual WebWorkerContentSettingsClientProxy* | 150 virtual WebWorkerContentSettingsClientProxy* |
146 CreateWorkerContentSettingsClientProxy() { | 151 CreateWorkerContentSettingsClientProxy() { |
147 return 0; | 152 return 0; |
148 } | 153 } |
149 | 154 |
150 // Returns a new WebWorkerFetchContext for a dedicated worker. Ownership of | 155 // Returns a new WebWorkerFetchContext for a dedicated worker. Ownership of |
151 // the returned object is transferred to the caller. This is used only when | 156 // the returned object is transferred to the caller. This is used only when |
152 // off-main-thread-fetch is enabled. | 157 // off-main-thread-fetch is enabled. |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 // Overwrites the given URL to use an HTML5 embed if possible. | 777 // Overwrites the given URL to use an HTML5 embed if possible. |
773 // An empty URL is returned if the URL is not overriden. | 778 // An empty URL is returned if the URL is not overriden. |
774 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 779 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
775 return WebURL(); | 780 return WebURL(); |
776 } | 781 } |
777 }; | 782 }; |
778 | 783 |
779 } // namespace blink | 784 } // namespace blink |
780 | 785 |
781 #endif | 786 #endif |
OLD | NEW |