@nativescript/canvas 2.0.0-alpha.10 → 2.0.0-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/Canvas/index.android.d.ts +4 -0
  2. package/Canvas/index.android.js +15 -1
  3. package/Canvas/index.android.js.map +1 -1
  4. package/Canvas/index.ios.js +0 -1
  5. package/Canvas/index.ios.js.map +1 -1
  6. package/WebGL/WebGLRenderingContext/index.js +9 -1
  7. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/platforms/android/canvas-release.aar +0 -0
  10. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  11. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +4 -0
  12. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +46 -0
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +381 -16
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +8 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +46 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +381 -16
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
  26. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +381 -16
  27. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
  28. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
  29. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  30. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  31. package/platforms/ios/Podfile +1 -1
  32. package/platforms/ios/build.xcconfig +1 -1
  33. package/platforms/ios/src/CanvasModule.h +1 -1
  34. package/platforms/ios/src/cpp/CanvasJSIModule.h +1 -1
  35. package/platforms/ios/src/cpp/CanvasJSIModule.mm +17 -17
  36. package/platforms/ios/src/cpp/Helpers.h +1 -1
  37. package/platforms/ios/src/cpp/ImageAssetImpl.h +1 -1
  38. package/platforms/ios/src/cpp/ImageBitmapImpl.h +1 -1
  39. package/platforms/ios/src/cpp/JSICallback.h +1 -1
  40. package/platforms/ios/src/cpp/JSIReadFileCallback.h +1 -1
  41. package/platforms/ios/src/cpp/TextDecoderImpl.h +1 -1
  42. package/platforms/ios/src/cpp/VecMutableBuffer.h +1 -1
  43. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +1 -1
  44. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +1 -1
  45. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1 -1
  46. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +1 -1
  47. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +1 -1
  48. package/platforms/ios/src/cpp/canvas2d/Path2D.h +1 -1
  49. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +1 -1
  50. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +1 -1
  51. package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +1 -1
  52. package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +1 -1
  53. package/platforms/ios/src/cpp/webgl/WebGLProgram.h +1 -1
  54. package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +1 -1
  55. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +1 -1
  56. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +1 -1
  57. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.mm +1 -1
  58. package/platforms/ios/src/cpp/webgl/WebGLShader.h +1 -1
  59. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +1 -1
  60. package/platforms/ios/src/cpp/webgl/WebGLTexture.h +1 -1
  61. package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +1 -1
  62. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +1 -1
  63. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +1 -1
  64. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +1 -1
  65. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +1 -1
  66. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +1 -1
  67. package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +1 -1
  68. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +1 -1
  69. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +1 -1
  70. package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +1 -1
  71. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +1 -1
  72. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +1 -1
  73. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +1 -1
  74. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +1 -1
  75. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +1 -1
  76. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +1 -1
  77. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +1 -1
  78. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +1 -1
  79. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +1 -1
  80. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +1 -1
  81. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +1 -1
  82. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +1 -1
  83. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +1 -1
  84. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +1 -1
  85. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +1 -1
  86. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +1 -1
  87. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1 -1
  88. package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +1 -1
  89. package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +1 -1
  90. package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +1 -1
  91. package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +1 -1
  92. package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +1 -1
  93. package/pods/Headers/include/APIDesign.md +0 -72
  94. package/pods/Headers/include/DEPS +0 -10
  95. package/pods/Headers/include/DIR_METADATA +0 -11
  96. package/pods/Headers/include/OWNERS +0 -23
  97. package/pods/Headers/include/cppgc/DEPS +0 -8
  98. package/pods/Headers/include/cppgc/OWNERS +0 -2
  99. package/pods/Headers/include/cppgc/README.md +0 -133
  100. package/pods/Headers/include/cppgc/allocation.h +0 -310
  101. package/pods/Headers/include/cppgc/common.h +0 -29
  102. package/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  103. package/pods/Headers/include/cppgc/custom-space.h +0 -97
  104. package/pods/Headers/include/cppgc/default-platform.h +0 -67
  105. package/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  106. package/pods/Headers/include/cppgc/explicit-management.h +0 -100
  107. package/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  108. package/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  109. package/pods/Headers/include/cppgc/heap-state.h +0 -82
  110. package/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  111. package/pods/Headers/include/cppgc/heap.h +0 -206
  112. package/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  113. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  114. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  115. package/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  116. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  117. package/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  118. package/pods/Headers/include/cppgc/internal/logging.h +0 -50
  119. package/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  120. package/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  121. package/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  122. package/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  123. package/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  124. package/pods/Headers/include/cppgc/macros.h +0 -26
  125. package/pods/Headers/include/cppgc/member.h +0 -291
  126. package/pods/Headers/include/cppgc/name-provider.h +0 -65
  127. package/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  128. package/pods/Headers/include/cppgc/persistent.h +0 -370
  129. package/pods/Headers/include/cppgc/platform.h +0 -156
  130. package/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  131. package/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  132. package/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  133. package/pods/Headers/include/cppgc/source-location.h +0 -92
  134. package/pods/Headers/include/cppgc/testing.h +0 -106
  135. package/pods/Headers/include/cppgc/trace-trait.h +0 -116
  136. package/pods/Headers/include/cppgc/type-traits.h +0 -240
  137. package/pods/Headers/include/cppgc/visitor.h +0 -379
  138. package/pods/Headers/include/js_protocol-1.2.json +0 -936
  139. package/pods/Headers/include/js_protocol-1.3.json +0 -1112
  140. package/pods/Headers/include/js_protocol.pdl +0 -1709
  141. package/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  142. package/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  143. package/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  144. package/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  145. package/pods/Headers/include/libffi.h +0 -12
  146. package/pods/Headers/include/libplatform/DEPS +0 -9
  147. package/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  148. package/pods/Headers/include/libplatform/libplatform.h +0 -106
  149. package/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  150. package/pods/Headers/include/v8-array-buffer.h +0 -433
  151. package/pods/Headers/include/v8-callbacks.h +0 -397
  152. package/pods/Headers/include/v8-container.h +0 -129
  153. package/pods/Headers/include/v8-context.h +0 -407
  154. package/pods/Headers/include/v8-cppgc.h +0 -215
  155. package/pods/Headers/include/v8-data.h +0 -80
  156. package/pods/Headers/include/v8-date.h +0 -43
  157. package/pods/Headers/include/v8-debug.h +0 -168
  158. package/pods/Headers/include/v8-embedder-heap.h +0 -218
  159. package/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  160. package/pods/Headers/include/v8-exception.h +0 -217
  161. package/pods/Headers/include/v8-extension.h +0 -62
  162. package/pods/Headers/include/v8-external.h +0 -37
  163. package/pods/Headers/include/v8-fast-api-calls.h +0 -939
  164. package/pods/Headers/include/v8-forward.h +0 -81
  165. package/pods/Headers/include/v8-function-callback.h +0 -475
  166. package/pods/Headers/include/v8-function.h +0 -125
  167. package/pods/Headers/include/v8-initialization.h +0 -315
  168. package/pods/Headers/include/v8-inspector-protocol.h +0 -13
  169. package/pods/Headers/include/v8-inspector.h +0 -376
  170. package/pods/Headers/include/v8-internal.h +0 -661
  171. package/pods/Headers/include/v8-isolate.h +0 -1709
  172. package/pods/Headers/include/v8-json.h +0 -47
  173. package/pods/Headers/include/v8-local-handle.h +0 -455
  174. package/pods/Headers/include/v8-locker.h +0 -149
  175. package/pods/Headers/include/v8-maybe.h +0 -137
  176. package/pods/Headers/include/v8-memory-span.h +0 -43
  177. package/pods/Headers/include/v8-message.h +0 -216
  178. package/pods/Headers/include/v8-metrics.h +0 -255
  179. package/pods/Headers/include/v8-microtask-queue.h +0 -152
  180. package/pods/Headers/include/v8-microtask.h +0 -28
  181. package/pods/Headers/include/v8-object.h +0 -775
  182. package/pods/Headers/include/v8-persistent-handle.h +0 -590
  183. package/pods/Headers/include/v8-platform.h +0 -1092
  184. package/pods/Headers/include/v8-primitive-object.h +0 -118
  185. package/pods/Headers/include/v8-primitive.h +0 -866
  186. package/pods/Headers/include/v8-profiler.h +0 -1198
  187. package/pods/Headers/include/v8-promise.h +0 -174
  188. package/pods/Headers/include/v8-proxy.h +0 -50
  189. package/pods/Headers/include/v8-regexp.h +0 -105
  190. package/pods/Headers/include/v8-script.h +0 -748
  191. package/pods/Headers/include/v8-snapshot.h +0 -196
  192. package/pods/Headers/include/v8-statistics.h +0 -217
  193. package/pods/Headers/include/v8-template.h +0 -1079
  194. package/pods/Headers/include/v8-traced-handle.h +0 -420
  195. package/pods/Headers/include/v8-typed-array.h +0 -282
  196. package/pods/Headers/include/v8-unwinder-state.h +0 -31
  197. package/pods/Headers/include/v8-unwinder.h +0 -132
  198. package/pods/Headers/include/v8-util.h +0 -658
  199. package/pods/Headers/include/v8-value-serializer-version.h +0 -24
  200. package/pods/Headers/include/v8-value-serializer.h +0 -279
  201. package/pods/Headers/include/v8-value.h +0 -526
  202. package/pods/Headers/include/v8-version-string.h +0 -38
  203. package/pods/Headers/include/v8-version.h +0 -20
  204. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  205. package/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  206. package/pods/Headers/include/v8-wasm.h +0 -257
  207. package/pods/Headers/include/v8-weak-callback-info.h +0 -86
  208. package/pods/Headers/include/v8.h +0 -88
  209. package/pods/Headers/include/v8config.h +0 -605
  210. package/pods/Headers/inspector/InspectorServer.h +0 -20
  211. package/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  212. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  213. package/pods/Headers/inspector/base64.h +0 -9
  214. package/pods/Headers/inspector/src/base/address-region.h +0 -95
  215. package/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  216. package/pods/Headers/inspector/src/base/atomicops.h +0 -332
  217. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  218. package/pods/Headers/inspector/src/base/base-export.h +0 -31
  219. package/pods/Headers/inspector/src/base/bits.h +0 -343
  220. package/pods/Headers/inspector/src/base/build_config.h +0 -234
  221. package/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  222. package/pods/Headers/inspector/src/base/export-template.h +0 -163
  223. package/pods/Headers/inspector/src/base/flags.h +0 -130
  224. package/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  225. package/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  226. package/pods/Headers/inspector/src/base/logging.h +0 -417
  227. package/pods/Headers/inspector/src/base/macros.h +0 -423
  228. package/pods/Headers/inspector/src/base/memory.h +0 -89
  229. package/pods/Headers/inspector/src/base/once.h +0 -108
  230. package/pods/Headers/inspector/src/base/optional.h +0 -882
  231. package/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  232. package/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  233. package/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  234. package/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  235. package/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  236. package/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  237. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  238. package/pods/Headers/inspector/src/base/template-utils.h +0 -113
  239. package/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  240. package/pods/Headers/inspector/src/common/checks.h +0 -38
  241. package/pods/Headers/inspector/src/common/globals.h +0 -1842
  242. package/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  243. package/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  244. package/pods/Headers/inspector/src/init/v8.h +0 -52
  245. package/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  246. package/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  247. package/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  248. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  249. package/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  250. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  251. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  252. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  253. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  254. package/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  255. package/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  256. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  257. package/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  258. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  259. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  260. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  261. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  262. package/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  263. package/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  264. package/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  265. package/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  266. package/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  267. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  268. package/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  269. package/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  270. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  271. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  272. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  273. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  274. package/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  275. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  276. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  277. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  278. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  279. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  280. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  281. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  282. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  283. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  284. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  285. package/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  286. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  287. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  288. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  289. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  290. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  291. package/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  292. package/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  293. package/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  294. package/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  295. package/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  296. package/pods/Headers/inspector/src/utils/allocation.h +0 -367
  297. package/pods/Headers/inspector/src/utils/vector.h +0 -324
  298. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  299. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  300. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  301. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  302. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  303. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  304. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  305. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  306. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  307. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  308. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  309. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  310. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  311. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  312. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  313. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  314. package/pods/Headers/inspector/utils.h +0 -32
  315. package/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  316. package/pods/Headers/jsi/decorator.h +0 -770
  317. package/pods/Headers/jsi/instrumentation.h +0 -117
  318. package/pods/Headers/jsi/jsi-inl.h +0 -338
  319. package/pods/Headers/jsi/jsi.h +0 -1571
  320. package/pods/Headers/jsi/jsilib.h +0 -59
  321. package/pods/Headers/jsi/threadsafe.h +0 -79
  322. package/pods/Headers/runtime/ArgConverter.h +0 -61
  323. package/pods/Headers/runtime/ArrayAdapter.h +0 -13
  324. package/pods/Headers/runtime/Caches.h +0 -98
  325. package/pods/Headers/runtime/ClassBuilder.h +0 -61
  326. package/pods/Headers/runtime/Common.h +0 -9
  327. package/pods/Headers/runtime/ConcurrentMap.h +0 -55
  328. package/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  329. package/pods/Headers/runtime/Console.h +0 -27
  330. package/pods/Headers/runtime/Constants.h +0 -15
  331. package/pods/Headers/runtime/DataWrapper.h +0 -671
  332. package/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  333. package/pods/Headers/runtime/ExtVector.h +0 -21
  334. package/pods/Headers/runtime/FFICall.h +0 -105
  335. package/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  336. package/pods/Headers/runtime/FunctionReference.h +0 -18
  337. package/pods/Headers/runtime/Helpers.h +0 -84
  338. package/pods/Headers/runtime/InlineFunctions.h +0 -16
  339. package/pods/Headers/runtime/Interop.h +0 -202
  340. package/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  341. package/pods/Headers/runtime/Metadata.h +0 -981
  342. package/pods/Headers/runtime/MetadataBuilder.h +0 -72
  343. package/pods/Headers/runtime/MetadataInlines.h +0 -157
  344. package/pods/Headers/runtime/ModuleInternal.h +0 -59
  345. package/pods/Headers/runtime/NSDataAdapter.h +0 -13
  346. package/pods/Headers/runtime/NativeScriptException.h +0 -27
  347. package/pods/Headers/runtime/ObjectManager.h +0 -31
  348. package/pods/Headers/runtime/OneByteStringResource.h +0 -21
  349. package/pods/Headers/runtime/Pointer.h +0 -26
  350. package/pods/Headers/runtime/PromiseProxy.h +0 -15
  351. package/pods/Headers/runtime/Reference.h +0 -38
  352. package/pods/Headers/runtime/Runtime.h +0 -67
  353. package/pods/Headers/runtime/RuntimeConfig.h +0 -17
  354. package/pods/Headers/runtime/SetTimeout.h +0 -34
  355. package/pods/Headers/runtime/SimpleAllocator.h +0 -23
  356. package/pods/Headers/runtime/StringHasher.h +0 -315
  357. package/pods/Headers/runtime/SymbolIterator.h +0 -18
  358. package/pods/Headers/runtime/SymbolLoader.h +0 -27
  359. package/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  360. package/pods/Headers/runtime/TSHelpers.h +0 -15
  361. package/pods/Headers/runtime/Tasks.h +0 -19
  362. package/pods/Headers/runtime/UnmanagedType.h +0 -21
  363. package/pods/Headers/runtime/WeakRef.h +0 -15
  364. package/pods/Headers/runtime/Worker.h +0 -26
  365. package/pods/Headers/runtime/robin_hood.h +0 -2184
  366. package/pods/Headers/v8runtime/HostProxy.h +0 -71
  367. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -74
  368. package/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  369. package/pods/Headers/v8runtime/V8Runtime.h +0 -240
  370. package/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  371. package/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  372. package/pods/NativeScript.podspec +0 -68
@@ -1,793 +0,0 @@
1
- // This file is generated by TypeBuilder_h.template.
2
-
3
- // Copyright (c) 2016 The Chromium Authors. All rights reserved.
4
- // Use of this source code is governed by a BSD-style license that can be
5
- // found in the LICENSE file.
6
-
7
- #ifndef v8_inspector_protocol_Security_h
8
- #define v8_inspector_protocol_Security_h
9
-
10
- #include "src/inspector/protocol/Protocol.h"
11
- // For each imported domain we generate a ValueConversions struct instead of a full domain definition
12
- // and include Domain::API version from there.
13
-
14
- namespace v8_inspector {
15
- namespace protocol {
16
- namespace Security {
17
- using CertificateId = int;
18
- using MixedContentType = String;
19
- using SecurityState = String;
20
- class CertificateSecurityState;
21
- using SafetyTipStatus = String;
22
- class SafetyTipInfo;
23
- class VisibleSecurityState;
24
- class SecurityStateExplanation;
25
- class InsecureContentStatus;
26
-
27
- // ------------- Forward and enum declarations.
28
-
29
- namespace MixedContentTypeEnum {
30
- extern const char Blockable[];
31
- extern const char OptionallyBlockable[];
32
- extern const char None[];
33
- } // namespace MixedContentTypeEnum
34
-
35
- namespace SecurityStateEnum {
36
- extern const char Unknown[];
37
- extern const char Neutral[];
38
- extern const char Insecure[];
39
- extern const char Secure[];
40
- extern const char Info[];
41
- extern const char InsecureBroken[];
42
- } // namespace SecurityStateEnum
43
-
44
- namespace SafetyTipStatusEnum {
45
- extern const char BadReputation[];
46
- extern const char Lookalike[];
47
- } // namespace SafetyTipStatusEnum
48
-
49
- // ------------- Type and builder declarations.
50
-
51
- class CertificateSecurityState : public ::v8_crdtp::ProtocolObject<CertificateSecurityState> {
52
- public:
53
- ~CertificateSecurityState() override { }
54
-
55
- String getProtocol() { return m_protocol; }
56
- void setProtocol(const String& value) { m_protocol = value; }
57
-
58
- String getKeyExchange() { return m_keyExchange; }
59
- void setKeyExchange(const String& value) { m_keyExchange = value; }
60
-
61
- bool hasKeyExchangeGroup() { return m_keyExchangeGroup.isJust(); }
62
- String getKeyExchangeGroup(const String& defaultValue) { return m_keyExchangeGroup.isJust() ? m_keyExchangeGroup.fromJust() : defaultValue; }
63
- void setKeyExchangeGroup(const String& value) { m_keyExchangeGroup = value; }
64
-
65
- String getCipher() { return m_cipher; }
66
- void setCipher(const String& value) { m_cipher = value; }
67
-
68
- bool hasMac() { return m_mac.isJust(); }
69
- String getMac(const String& defaultValue) { return m_mac.isJust() ? m_mac.fromJust() : defaultValue; }
70
- void setMac(const String& value) { m_mac = value; }
71
-
72
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
73
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
74
-
75
- String getSubjectName() { return m_subjectName; }
76
- void setSubjectName(const String& value) { m_subjectName = value; }
77
-
78
- String getIssuer() { return m_issuer; }
79
- void setIssuer(const String& value) { m_issuer = value; }
80
-
81
- double getValidFrom() { return m_validFrom; }
82
- void setValidFrom(double value) { m_validFrom = value; }
83
-
84
- double getValidTo() { return m_validTo; }
85
- void setValidTo(double value) { m_validTo = value; }
86
-
87
- bool hasCertificateNetworkError() { return m_certificateNetworkError.isJust(); }
88
- String getCertificateNetworkError(const String& defaultValue) { return m_certificateNetworkError.isJust() ? m_certificateNetworkError.fromJust() : defaultValue; }
89
- void setCertificateNetworkError(const String& value) { m_certificateNetworkError = value; }
90
-
91
- bool getCertificateHasWeakSignature() { return m_certificateHasWeakSignature; }
92
- void setCertificateHasWeakSignature(bool value) { m_certificateHasWeakSignature = value; }
93
-
94
- bool getCertificateHasSha1Signature() { return m_certificateHasSha1Signature; }
95
- void setCertificateHasSha1Signature(bool value) { m_certificateHasSha1Signature = value; }
96
-
97
- bool getModernSSL() { return m_modernSSL; }
98
- void setModernSSL(bool value) { m_modernSSL = value; }
99
-
100
- bool getObsoleteSslProtocol() { return m_obsoleteSslProtocol; }
101
- void setObsoleteSslProtocol(bool value) { m_obsoleteSslProtocol = value; }
102
-
103
- bool getObsoleteSslKeyExchange() { return m_obsoleteSslKeyExchange; }
104
- void setObsoleteSslKeyExchange(bool value) { m_obsoleteSslKeyExchange = value; }
105
-
106
- bool getObsoleteSslCipher() { return m_obsoleteSslCipher; }
107
- void setObsoleteSslCipher(bool value) { m_obsoleteSslCipher = value; }
108
-
109
- bool getObsoleteSslSignature() { return m_obsoleteSslSignature; }
110
- void setObsoleteSslSignature(bool value) { m_obsoleteSslSignature = value; }
111
-
112
- template<int STATE>
113
- class CertificateSecurityStateBuilder {
114
- public:
115
- enum {
116
- NoFieldsSet = 0,
117
- ProtocolSet = 1 << 1,
118
- KeyExchangeSet = 1 << 2,
119
- CipherSet = 1 << 3,
120
- CertificateSet = 1 << 4,
121
- SubjectNameSet = 1 << 5,
122
- IssuerSet = 1 << 6,
123
- ValidFromSet = 1 << 7,
124
- ValidToSet = 1 << 8,
125
- CertificateHasWeakSignatureSet = 1 << 9,
126
- CertificateHasSha1SignatureSet = 1 << 10,
127
- ModernSSLSet = 1 << 11,
128
- ObsoleteSslProtocolSet = 1 << 12,
129
- ObsoleteSslKeyExchangeSet = 1 << 13,
130
- ObsoleteSslCipherSet = 1 << 14,
131
- ObsoleteSslSignatureSet = 1 << 15,
132
- AllFieldsSet = (ProtocolSet | KeyExchangeSet | CipherSet | CertificateSet | SubjectNameSet | IssuerSet | ValidFromSet | ValidToSet | CertificateHasWeakSignatureSet | CertificateHasSha1SignatureSet | ModernSSLSet | ObsoleteSslProtocolSet | ObsoleteSslKeyExchangeSet | ObsoleteSslCipherSet | ObsoleteSslSignatureSet | 0)};
133
-
134
-
135
- CertificateSecurityStateBuilder<STATE | ProtocolSet>& setProtocol(const String& value)
136
- {
137
- static_assert(!(STATE & ProtocolSet), "property protocol should not be set yet");
138
- m_result->setProtocol(value);
139
- return castState<ProtocolSet>();
140
- }
141
-
142
- CertificateSecurityStateBuilder<STATE | KeyExchangeSet>& setKeyExchange(const String& value)
143
- {
144
- static_assert(!(STATE & KeyExchangeSet), "property keyExchange should not be set yet");
145
- m_result->setKeyExchange(value);
146
- return castState<KeyExchangeSet>();
147
- }
148
-
149
- CertificateSecurityStateBuilder<STATE>& setKeyExchangeGroup(const String& value)
150
- {
151
- m_result->setKeyExchangeGroup(value);
152
- return *this;
153
- }
154
-
155
- CertificateSecurityStateBuilder<STATE | CipherSet>& setCipher(const String& value)
156
- {
157
- static_assert(!(STATE & CipherSet), "property cipher should not be set yet");
158
- m_result->setCipher(value);
159
- return castState<CipherSet>();
160
- }
161
-
162
- CertificateSecurityStateBuilder<STATE>& setMac(const String& value)
163
- {
164
- m_result->setMac(value);
165
- return *this;
166
- }
167
-
168
- CertificateSecurityStateBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
169
- {
170
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
171
- m_result->setCertificate(std::move(value));
172
- return castState<CertificateSet>();
173
- }
174
-
175
- CertificateSecurityStateBuilder<STATE | SubjectNameSet>& setSubjectName(const String& value)
176
- {
177
- static_assert(!(STATE & SubjectNameSet), "property subjectName should not be set yet");
178
- m_result->setSubjectName(value);
179
- return castState<SubjectNameSet>();
180
- }
181
-
182
- CertificateSecurityStateBuilder<STATE | IssuerSet>& setIssuer(const String& value)
183
- {
184
- static_assert(!(STATE & IssuerSet), "property issuer should not be set yet");
185
- m_result->setIssuer(value);
186
- return castState<IssuerSet>();
187
- }
188
-
189
- CertificateSecurityStateBuilder<STATE | ValidFromSet>& setValidFrom(double value)
190
- {
191
- static_assert(!(STATE & ValidFromSet), "property validFrom should not be set yet");
192
- m_result->setValidFrom(value);
193
- return castState<ValidFromSet>();
194
- }
195
-
196
- CertificateSecurityStateBuilder<STATE | ValidToSet>& setValidTo(double value)
197
- {
198
- static_assert(!(STATE & ValidToSet), "property validTo should not be set yet");
199
- m_result->setValidTo(value);
200
- return castState<ValidToSet>();
201
- }
202
-
203
- CertificateSecurityStateBuilder<STATE>& setCertificateNetworkError(const String& value)
204
- {
205
- m_result->setCertificateNetworkError(value);
206
- return *this;
207
- }
208
-
209
- CertificateSecurityStateBuilder<STATE | CertificateHasWeakSignatureSet>& setCertificateHasWeakSignature(bool value)
210
- {
211
- static_assert(!(STATE & CertificateHasWeakSignatureSet), "property certificateHasWeakSignature should not be set yet");
212
- m_result->setCertificateHasWeakSignature(value);
213
- return castState<CertificateHasWeakSignatureSet>();
214
- }
215
-
216
- CertificateSecurityStateBuilder<STATE | CertificateHasSha1SignatureSet>& setCertificateHasSha1Signature(bool value)
217
- {
218
- static_assert(!(STATE & CertificateHasSha1SignatureSet), "property certificateHasSha1Signature should not be set yet");
219
- m_result->setCertificateHasSha1Signature(value);
220
- return castState<CertificateHasSha1SignatureSet>();
221
- }
222
-
223
- CertificateSecurityStateBuilder<STATE | ModernSSLSet>& setModernSSL(bool value)
224
- {
225
- static_assert(!(STATE & ModernSSLSet), "property modernSSL should not be set yet");
226
- m_result->setModernSSL(value);
227
- return castState<ModernSSLSet>();
228
- }
229
-
230
- CertificateSecurityStateBuilder<STATE | ObsoleteSslProtocolSet>& setObsoleteSslProtocol(bool value)
231
- {
232
- static_assert(!(STATE & ObsoleteSslProtocolSet), "property obsoleteSslProtocol should not be set yet");
233
- m_result->setObsoleteSslProtocol(value);
234
- return castState<ObsoleteSslProtocolSet>();
235
- }
236
-
237
- CertificateSecurityStateBuilder<STATE | ObsoleteSslKeyExchangeSet>& setObsoleteSslKeyExchange(bool value)
238
- {
239
- static_assert(!(STATE & ObsoleteSslKeyExchangeSet), "property obsoleteSslKeyExchange should not be set yet");
240
- m_result->setObsoleteSslKeyExchange(value);
241
- return castState<ObsoleteSslKeyExchangeSet>();
242
- }
243
-
244
- CertificateSecurityStateBuilder<STATE | ObsoleteSslCipherSet>& setObsoleteSslCipher(bool value)
245
- {
246
- static_assert(!(STATE & ObsoleteSslCipherSet), "property obsoleteSslCipher should not be set yet");
247
- m_result->setObsoleteSslCipher(value);
248
- return castState<ObsoleteSslCipherSet>();
249
- }
250
-
251
- CertificateSecurityStateBuilder<STATE | ObsoleteSslSignatureSet>& setObsoleteSslSignature(bool value)
252
- {
253
- static_assert(!(STATE & ObsoleteSslSignatureSet), "property obsoleteSslSignature should not be set yet");
254
- m_result->setObsoleteSslSignature(value);
255
- return castState<ObsoleteSslSignatureSet>();
256
- }
257
-
258
- std::unique_ptr<CertificateSecurityState> build()
259
- {
260
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
261
- return std::move(m_result);
262
- }
263
-
264
- private:
265
- friend class CertificateSecurityState;
266
- CertificateSecurityStateBuilder() : m_result(new CertificateSecurityState()) { }
267
-
268
- template<int STEP> CertificateSecurityStateBuilder<STATE | STEP>& castState()
269
- {
270
- return *reinterpret_cast<CertificateSecurityStateBuilder<STATE | STEP>*>(this);
271
- }
272
-
273
- std::unique_ptr<protocol::Security::CertificateSecurityState> m_result;
274
- };
275
-
276
- static CertificateSecurityStateBuilder<0> create()
277
- {
278
- return CertificateSecurityStateBuilder<0>();
279
- }
280
-
281
- private:
282
- DECLARE_SERIALIZATION_SUPPORT();
283
-
284
- CertificateSecurityState()
285
- {
286
- m_validFrom = 0;
287
- m_validTo = 0;
288
- m_certificateHasWeakSignature = false;
289
- m_certificateHasSha1Signature = false;
290
- m_modernSSL = false;
291
- m_obsoleteSslProtocol = false;
292
- m_obsoleteSslKeyExchange = false;
293
- m_obsoleteSslCipher = false;
294
- m_obsoleteSslSignature = false;
295
- }
296
-
297
- String m_protocol;
298
- String m_keyExchange;
299
- Maybe<String> m_keyExchangeGroup;
300
- String m_cipher;
301
- Maybe<String> m_mac;
302
- std::unique_ptr<protocol::Array<String>> m_certificate;
303
- String m_subjectName;
304
- String m_issuer;
305
- double m_validFrom;
306
- double m_validTo;
307
- Maybe<String> m_certificateNetworkError;
308
- bool m_certificateHasWeakSignature;
309
- bool m_certificateHasSha1Signature;
310
- bool m_modernSSL;
311
- bool m_obsoleteSslProtocol;
312
- bool m_obsoleteSslKeyExchange;
313
- bool m_obsoleteSslCipher;
314
- bool m_obsoleteSslSignature;
315
- };
316
-
317
-
318
- class SafetyTipInfo : public ::v8_crdtp::ProtocolObject<SafetyTipInfo> {
319
- public:
320
- ~SafetyTipInfo() override { }
321
-
322
- String getSafetyTipStatus() { return m_safetyTipStatus; }
323
- void setSafetyTipStatus(const String& value) { m_safetyTipStatus = value; }
324
-
325
- bool hasSafeUrl() { return m_safeUrl.isJust(); }
326
- String getSafeUrl(const String& defaultValue) { return m_safeUrl.isJust() ? m_safeUrl.fromJust() : defaultValue; }
327
- void setSafeUrl(const String& value) { m_safeUrl = value; }
328
-
329
- template<int STATE>
330
- class SafetyTipInfoBuilder {
331
- public:
332
- enum {
333
- NoFieldsSet = 0,
334
- SafetyTipStatusSet = 1 << 1,
335
- AllFieldsSet = (SafetyTipStatusSet | 0)};
336
-
337
-
338
- SafetyTipInfoBuilder<STATE | SafetyTipStatusSet>& setSafetyTipStatus(const String& value)
339
- {
340
- static_assert(!(STATE & SafetyTipStatusSet), "property safetyTipStatus should not be set yet");
341
- m_result->setSafetyTipStatus(value);
342
- return castState<SafetyTipStatusSet>();
343
- }
344
-
345
- SafetyTipInfoBuilder<STATE>& setSafeUrl(const String& value)
346
- {
347
- m_result->setSafeUrl(value);
348
- return *this;
349
- }
350
-
351
- std::unique_ptr<SafetyTipInfo> build()
352
- {
353
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
354
- return std::move(m_result);
355
- }
356
-
357
- private:
358
- friend class SafetyTipInfo;
359
- SafetyTipInfoBuilder() : m_result(new SafetyTipInfo()) { }
360
-
361
- template<int STEP> SafetyTipInfoBuilder<STATE | STEP>& castState()
362
- {
363
- return *reinterpret_cast<SafetyTipInfoBuilder<STATE | STEP>*>(this);
364
- }
365
-
366
- std::unique_ptr<protocol::Security::SafetyTipInfo> m_result;
367
- };
368
-
369
- static SafetyTipInfoBuilder<0> create()
370
- {
371
- return SafetyTipInfoBuilder<0>();
372
- }
373
-
374
- private:
375
- DECLARE_SERIALIZATION_SUPPORT();
376
-
377
- SafetyTipInfo()
378
- {
379
- }
380
-
381
- String m_safetyTipStatus;
382
- Maybe<String> m_safeUrl;
383
- };
384
-
385
-
386
- class VisibleSecurityState : public ::v8_crdtp::ProtocolObject<VisibleSecurityState> {
387
- public:
388
- ~VisibleSecurityState() override { }
389
-
390
- String getSecurityState() { return m_securityState; }
391
- void setSecurityState(const String& value) { m_securityState = value; }
392
-
393
- bool hasCertificateSecurityState() { return m_certificateSecurityState.isJust(); }
394
- protocol::Security::CertificateSecurityState* getCertificateSecurityState(protocol::Security::CertificateSecurityState* defaultValue) { return m_certificateSecurityState.isJust() ? m_certificateSecurityState.fromJust() : defaultValue; }
395
- void setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value) { m_certificateSecurityState = std::move(value); }
396
-
397
- bool hasSafetyTipInfo() { return m_safetyTipInfo.isJust(); }
398
- protocol::Security::SafetyTipInfo* getSafetyTipInfo(protocol::Security::SafetyTipInfo* defaultValue) { return m_safetyTipInfo.isJust() ? m_safetyTipInfo.fromJust() : defaultValue; }
399
- void setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value) { m_safetyTipInfo = std::move(value); }
400
-
401
- protocol::Array<String>* getSecurityStateIssueIds() { return m_securityStateIssueIds.get(); }
402
- void setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value) { m_securityStateIssueIds = std::move(value); }
403
-
404
- template<int STATE>
405
- class VisibleSecurityStateBuilder {
406
- public:
407
- enum {
408
- NoFieldsSet = 0,
409
- SecurityStateSet = 1 << 1,
410
- SecurityStateIssueIdsSet = 1 << 2,
411
- AllFieldsSet = (SecurityStateSet | SecurityStateIssueIdsSet | 0)};
412
-
413
-
414
- VisibleSecurityStateBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
415
- {
416
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
417
- m_result->setSecurityState(value);
418
- return castState<SecurityStateSet>();
419
- }
420
-
421
- VisibleSecurityStateBuilder<STATE>& setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value)
422
- {
423
- m_result->setCertificateSecurityState(std::move(value));
424
- return *this;
425
- }
426
-
427
- VisibleSecurityStateBuilder<STATE>& setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value)
428
- {
429
- m_result->setSafetyTipInfo(std::move(value));
430
- return *this;
431
- }
432
-
433
- VisibleSecurityStateBuilder<STATE | SecurityStateIssueIdsSet>& setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value)
434
- {
435
- static_assert(!(STATE & SecurityStateIssueIdsSet), "property securityStateIssueIds should not be set yet");
436
- m_result->setSecurityStateIssueIds(std::move(value));
437
- return castState<SecurityStateIssueIdsSet>();
438
- }
439
-
440
- std::unique_ptr<VisibleSecurityState> build()
441
- {
442
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
443
- return std::move(m_result);
444
- }
445
-
446
- private:
447
- friend class VisibleSecurityState;
448
- VisibleSecurityStateBuilder() : m_result(new VisibleSecurityState()) { }
449
-
450
- template<int STEP> VisibleSecurityStateBuilder<STATE | STEP>& castState()
451
- {
452
- return *reinterpret_cast<VisibleSecurityStateBuilder<STATE | STEP>*>(this);
453
- }
454
-
455
- std::unique_ptr<protocol::Security::VisibleSecurityState> m_result;
456
- };
457
-
458
- static VisibleSecurityStateBuilder<0> create()
459
- {
460
- return VisibleSecurityStateBuilder<0>();
461
- }
462
-
463
- private:
464
- DECLARE_SERIALIZATION_SUPPORT();
465
-
466
- VisibleSecurityState()
467
- {
468
- }
469
-
470
- String m_securityState;
471
- Maybe<protocol::Security::CertificateSecurityState> m_certificateSecurityState;
472
- Maybe<protocol::Security::SafetyTipInfo> m_safetyTipInfo;
473
- std::unique_ptr<protocol::Array<String>> m_securityStateIssueIds;
474
- };
475
-
476
-
477
- class SecurityStateExplanation : public ::v8_crdtp::ProtocolObject<SecurityStateExplanation> {
478
- public:
479
- ~SecurityStateExplanation() override { }
480
-
481
- String getSecurityState() { return m_securityState; }
482
- void setSecurityState(const String& value) { m_securityState = value; }
483
-
484
- String getTitle() { return m_title; }
485
- void setTitle(const String& value) { m_title = value; }
486
-
487
- String getSummary() { return m_summary; }
488
- void setSummary(const String& value) { m_summary = value; }
489
-
490
- String getDescription() { return m_description; }
491
- void setDescription(const String& value) { m_description = value; }
492
-
493
- String getMixedContentType() { return m_mixedContentType; }
494
- void setMixedContentType(const String& value) { m_mixedContentType = value; }
495
-
496
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
497
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
498
-
499
- bool hasRecommendations() { return m_recommendations.isJust(); }
500
- protocol::Array<String>* getRecommendations(protocol::Array<String>* defaultValue) { return m_recommendations.isJust() ? m_recommendations.fromJust() : defaultValue; }
501
- void setRecommendations(std::unique_ptr<protocol::Array<String>> value) { m_recommendations = std::move(value); }
502
-
503
- template<int STATE>
504
- class SecurityStateExplanationBuilder {
505
- public:
506
- enum {
507
- NoFieldsSet = 0,
508
- SecurityStateSet = 1 << 1,
509
- TitleSet = 1 << 2,
510
- SummarySet = 1 << 3,
511
- DescriptionSet = 1 << 4,
512
- MixedContentTypeSet = 1 << 5,
513
- CertificateSet = 1 << 6,
514
- AllFieldsSet = (SecurityStateSet | TitleSet | SummarySet | DescriptionSet | MixedContentTypeSet | CertificateSet | 0)};
515
-
516
-
517
- SecurityStateExplanationBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
518
- {
519
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
520
- m_result->setSecurityState(value);
521
- return castState<SecurityStateSet>();
522
- }
523
-
524
- SecurityStateExplanationBuilder<STATE | TitleSet>& setTitle(const String& value)
525
- {
526
- static_assert(!(STATE & TitleSet), "property title should not be set yet");
527
- m_result->setTitle(value);
528
- return castState<TitleSet>();
529
- }
530
-
531
- SecurityStateExplanationBuilder<STATE | SummarySet>& setSummary(const String& value)
532
- {
533
- static_assert(!(STATE & SummarySet), "property summary should not be set yet");
534
- m_result->setSummary(value);
535
- return castState<SummarySet>();
536
- }
537
-
538
- SecurityStateExplanationBuilder<STATE | DescriptionSet>& setDescription(const String& value)
539
- {
540
- static_assert(!(STATE & DescriptionSet), "property description should not be set yet");
541
- m_result->setDescription(value);
542
- return castState<DescriptionSet>();
543
- }
544
-
545
- SecurityStateExplanationBuilder<STATE | MixedContentTypeSet>& setMixedContentType(const String& value)
546
- {
547
- static_assert(!(STATE & MixedContentTypeSet), "property mixedContentType should not be set yet");
548
- m_result->setMixedContentType(value);
549
- return castState<MixedContentTypeSet>();
550
- }
551
-
552
- SecurityStateExplanationBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
553
- {
554
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
555
- m_result->setCertificate(std::move(value));
556
- return castState<CertificateSet>();
557
- }
558
-
559
- SecurityStateExplanationBuilder<STATE>& setRecommendations(std::unique_ptr<protocol::Array<String>> value)
560
- {
561
- m_result->setRecommendations(std::move(value));
562
- return *this;
563
- }
564
-
565
- std::unique_ptr<SecurityStateExplanation> build()
566
- {
567
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
568
- return std::move(m_result);
569
- }
570
-
571
- private:
572
- friend class SecurityStateExplanation;
573
- SecurityStateExplanationBuilder() : m_result(new SecurityStateExplanation()) { }
574
-
575
- template<int STEP> SecurityStateExplanationBuilder<STATE | STEP>& castState()
576
- {
577
- return *reinterpret_cast<SecurityStateExplanationBuilder<STATE | STEP>*>(this);
578
- }
579
-
580
- std::unique_ptr<protocol::Security::SecurityStateExplanation> m_result;
581
- };
582
-
583
- static SecurityStateExplanationBuilder<0> create()
584
- {
585
- return SecurityStateExplanationBuilder<0>();
586
- }
587
-
588
- private:
589
- DECLARE_SERIALIZATION_SUPPORT();
590
-
591
- SecurityStateExplanation()
592
- {
593
- }
594
-
595
- String m_securityState;
596
- String m_title;
597
- String m_summary;
598
- String m_description;
599
- String m_mixedContentType;
600
- std::unique_ptr<protocol::Array<String>> m_certificate;
601
- Maybe<protocol::Array<String>> m_recommendations;
602
- };
603
-
604
-
605
- class InsecureContentStatus : public ::v8_crdtp::ProtocolObject<InsecureContentStatus> {
606
- public:
607
- ~InsecureContentStatus() override { }
608
-
609
- bool getRanMixedContent() { return m_ranMixedContent; }
610
- void setRanMixedContent(bool value) { m_ranMixedContent = value; }
611
-
612
- bool getDisplayedMixedContent() { return m_displayedMixedContent; }
613
- void setDisplayedMixedContent(bool value) { m_displayedMixedContent = value; }
614
-
615
- bool getContainedMixedForm() { return m_containedMixedForm; }
616
- void setContainedMixedForm(bool value) { m_containedMixedForm = value; }
617
-
618
- bool getRanContentWithCertErrors() { return m_ranContentWithCertErrors; }
619
- void setRanContentWithCertErrors(bool value) { m_ranContentWithCertErrors = value; }
620
-
621
- bool getDisplayedContentWithCertErrors() { return m_displayedContentWithCertErrors; }
622
- void setDisplayedContentWithCertErrors(bool value) { m_displayedContentWithCertErrors = value; }
623
-
624
- String getRanInsecureContentStyle() { return m_ranInsecureContentStyle; }
625
- void setRanInsecureContentStyle(const String& value) { m_ranInsecureContentStyle = value; }
626
-
627
- String getDisplayedInsecureContentStyle() { return m_displayedInsecureContentStyle; }
628
- void setDisplayedInsecureContentStyle(const String& value) { m_displayedInsecureContentStyle = value; }
629
-
630
- template<int STATE>
631
- class InsecureContentStatusBuilder {
632
- public:
633
- enum {
634
- NoFieldsSet = 0,
635
- RanMixedContentSet = 1 << 1,
636
- DisplayedMixedContentSet = 1 << 2,
637
- ContainedMixedFormSet = 1 << 3,
638
- RanContentWithCertErrorsSet = 1 << 4,
639
- DisplayedContentWithCertErrorsSet = 1 << 5,
640
- RanInsecureContentStyleSet = 1 << 6,
641
- DisplayedInsecureContentStyleSet = 1 << 7,
642
- AllFieldsSet = (RanMixedContentSet | DisplayedMixedContentSet | ContainedMixedFormSet | RanContentWithCertErrorsSet | DisplayedContentWithCertErrorsSet | RanInsecureContentStyleSet | DisplayedInsecureContentStyleSet | 0)};
643
-
644
-
645
- InsecureContentStatusBuilder<STATE | RanMixedContentSet>& setRanMixedContent(bool value)
646
- {
647
- static_assert(!(STATE & RanMixedContentSet), "property ranMixedContent should not be set yet");
648
- m_result->setRanMixedContent(value);
649
- return castState<RanMixedContentSet>();
650
- }
651
-
652
- InsecureContentStatusBuilder<STATE | DisplayedMixedContentSet>& setDisplayedMixedContent(bool value)
653
- {
654
- static_assert(!(STATE & DisplayedMixedContentSet), "property displayedMixedContent should not be set yet");
655
- m_result->setDisplayedMixedContent(value);
656
- return castState<DisplayedMixedContentSet>();
657
- }
658
-
659
- InsecureContentStatusBuilder<STATE | ContainedMixedFormSet>& setContainedMixedForm(bool value)
660
- {
661
- static_assert(!(STATE & ContainedMixedFormSet), "property containedMixedForm should not be set yet");
662
- m_result->setContainedMixedForm(value);
663
- return castState<ContainedMixedFormSet>();
664
- }
665
-
666
- InsecureContentStatusBuilder<STATE | RanContentWithCertErrorsSet>& setRanContentWithCertErrors(bool value)
667
- {
668
- static_assert(!(STATE & RanContentWithCertErrorsSet), "property ranContentWithCertErrors should not be set yet");
669
- m_result->setRanContentWithCertErrors(value);
670
- return castState<RanContentWithCertErrorsSet>();
671
- }
672
-
673
- InsecureContentStatusBuilder<STATE | DisplayedContentWithCertErrorsSet>& setDisplayedContentWithCertErrors(bool value)
674
- {
675
- static_assert(!(STATE & DisplayedContentWithCertErrorsSet), "property displayedContentWithCertErrors should not be set yet");
676
- m_result->setDisplayedContentWithCertErrors(value);
677
- return castState<DisplayedContentWithCertErrorsSet>();
678
- }
679
-
680
- InsecureContentStatusBuilder<STATE | RanInsecureContentStyleSet>& setRanInsecureContentStyle(const String& value)
681
- {
682
- static_assert(!(STATE & RanInsecureContentStyleSet), "property ranInsecureContentStyle should not be set yet");
683
- m_result->setRanInsecureContentStyle(value);
684
- return castState<RanInsecureContentStyleSet>();
685
- }
686
-
687
- InsecureContentStatusBuilder<STATE | DisplayedInsecureContentStyleSet>& setDisplayedInsecureContentStyle(const String& value)
688
- {
689
- static_assert(!(STATE & DisplayedInsecureContentStyleSet), "property displayedInsecureContentStyle should not be set yet");
690
- m_result->setDisplayedInsecureContentStyle(value);
691
- return castState<DisplayedInsecureContentStyleSet>();
692
- }
693
-
694
- std::unique_ptr<InsecureContentStatus> build()
695
- {
696
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
697
- return std::move(m_result);
698
- }
699
-
700
- private:
701
- friend class InsecureContentStatus;
702
- InsecureContentStatusBuilder() : m_result(new InsecureContentStatus()) { }
703
-
704
- template<int STEP> InsecureContentStatusBuilder<STATE | STEP>& castState()
705
- {
706
- return *reinterpret_cast<InsecureContentStatusBuilder<STATE | STEP>*>(this);
707
- }
708
-
709
- std::unique_ptr<protocol::Security::InsecureContentStatus> m_result;
710
- };
711
-
712
- static InsecureContentStatusBuilder<0> create()
713
- {
714
- return InsecureContentStatusBuilder<0>();
715
- }
716
-
717
- private:
718
- DECLARE_SERIALIZATION_SUPPORT();
719
-
720
- InsecureContentStatus()
721
- {
722
- m_ranMixedContent = false;
723
- m_displayedMixedContent = false;
724
- m_containedMixedForm = false;
725
- m_ranContentWithCertErrors = false;
726
- m_displayedContentWithCertErrors = false;
727
- }
728
-
729
- bool m_ranMixedContent;
730
- bool m_displayedMixedContent;
731
- bool m_containedMixedForm;
732
- bool m_ranContentWithCertErrors;
733
- bool m_displayedContentWithCertErrors;
734
- String m_ranInsecureContentStyle;
735
- String m_displayedInsecureContentStyle;
736
- };
737
-
738
-
739
- // ------------- Backend interface.
740
-
741
- class Backend {
742
- public:
743
- virtual ~Backend() { }
744
-
745
-
746
- virtual DispatchResponse disable()
747
- {
748
- return DispatchResponse::Success();
749
- }
750
- };
751
-
752
- // ------------- Frontend interface.
753
-
754
- class Frontend {
755
- public:
756
- explicit Frontend(FrontendChannel* frontend_channel) : frontend_channel_(frontend_channel) {}
757
- void certificateError(int eventId, const String& errorType, const String& requestURL);
758
- void visibleSecurityStateChanged(std::unique_ptr<protocol::Security::VisibleSecurityState> visibleSecurityState);
759
- void securityStateChanged(const String& securityState, bool schemeIsCryptographic, std::unique_ptr<protocol::Array<protocol::Security::SecurityStateExplanation>> explanations, std::unique_ptr<protocol::Security::InsecureContentStatus> insecureContentStatus, Maybe<String> summary = Maybe<String>());
760
-
761
- void flush();
762
- void sendRawNotification(std::unique_ptr<Serializable>);
763
- private:
764
- FrontendChannel* frontend_channel_;
765
- };
766
-
767
- // ------------- Dispatcher.
768
-
769
- class Dispatcher {
770
- public:
771
- static void wire(UberDispatcher*, Backend*);
772
-
773
- private:
774
- Dispatcher() { }
775
- };
776
-
777
- // ------------- Metainfo.
778
-
779
- class Metainfo {
780
- public:
781
- using BackendClass = Backend;
782
- using FrontendClass = Frontend;
783
- using DispatcherClass = Dispatcher;
784
- static const char domainName[];
785
- static const char commandPrefix[];
786
- static const char version[];
787
- };
788
-
789
- } // namespace Security
790
- } // namespace v8_inspector
791
- } // namespace protocol
792
-
793
- #endif // !defined(v8_inspector_protocol_Security_h)