@triniwiz/nativescript-masonkit 1.0.0-alpha.11 → 1.0.0-alpha.13

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 (306) hide show
  1. package/helpers.js +0 -3
  2. package/helpers.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/masonkit-release.aar +0 -0
  5. package/style.js +0 -1
  6. package/style.js.map +1 -1
  7. package/node.d.ts +0 -2
  8. package/node.js +0 -3
  9. package/node.js.map +0 -1
  10. package/platforms/ios/Podfile +0 -1
  11. package/platforms/ios/build.xcconfig +0 -5
  12. package/platforms/ios/prebuild.sh +0 -101
  13. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  14. package/platforms/new_native_src/cpp/Caches.h +0 -42
  15. package/platforms/new_native_src/cpp/Common.h +0 -34
  16. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  17. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  18. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  19. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  20. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  21. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  22. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  23. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  24. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  25. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  26. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  27. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  28. package/src-native/pods/Headers/include/DEPS +0 -10
  29. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  30. package/src-native/pods/Headers/include/OWNERS +0 -23
  31. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  32. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  33. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  34. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  35. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  36. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  37. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  38. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  39. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  40. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  41. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  42. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  43. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  44. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  45. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  46. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  47. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  48. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  49. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  50. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  51. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  52. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  53. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  54. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  55. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  56. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  57. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  58. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  59. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  60. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  61. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  62. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  63. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  64. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  65. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  66. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  67. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  68. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  69. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  70. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  71. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  72. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  73. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  74. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  75. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  76. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  77. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  78. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  79. package/src-native/pods/Headers/include/libffi.h +0 -12
  80. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  81. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  82. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  83. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  84. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  85. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  86. package/src-native/pods/Headers/include/v8-container.h +0 -129
  87. package/src-native/pods/Headers/include/v8-context.h +0 -407
  88. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  89. package/src-native/pods/Headers/include/v8-data.h +0 -80
  90. package/src-native/pods/Headers/include/v8-date.h +0 -43
  91. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  92. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  93. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  94. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  95. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  96. package/src-native/pods/Headers/include/v8-external.h +0 -37
  97. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  98. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  99. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  100. package/src-native/pods/Headers/include/v8-function.h +0 -125
  101. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  102. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  103. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  104. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  105. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  106. package/src-native/pods/Headers/include/v8-json.h +0 -47
  107. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  108. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  109. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  110. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  111. package/src-native/pods/Headers/include/v8-message.h +0 -216
  112. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  113. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  114. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  115. package/src-native/pods/Headers/include/v8-object.h +0 -775
  116. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  117. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  118. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  119. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  120. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  121. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  122. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  123. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  124. package/src-native/pods/Headers/include/v8-script.h +0 -748
  125. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  126. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  127. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  128. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  129. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  130. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  131. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  132. package/src-native/pods/Headers/include/v8-util.h +0 -658
  133. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  134. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  135. package/src-native/pods/Headers/include/v8-value.h +0 -526
  136. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  137. package/src-native/pods/Headers/include/v8-version.h +0 -20
  138. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  139. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  140. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  141. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  142. package/src-native/pods/Headers/include/v8.h +0 -88
  143. package/src-native/pods/Headers/include/v8config.h +0 -605
  144. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  145. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  146. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  147. package/src-native/pods/Headers/inspector/base64.h +0 -9
  148. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  149. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  150. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  151. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  152. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  153. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  154. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  155. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  156. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  157. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  158. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  159. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  160. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  161. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  162. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  163. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  164. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  165. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  166. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  167. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  168. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  169. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  170. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  171. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  172. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  173. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  174. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  175. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  176. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  177. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  178. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  179. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  180. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  181. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  182. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  183. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  184. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  185. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  186. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  187. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  188. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  189. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  190. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  191. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  192. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  193. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  194. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  195. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  196. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  197. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  198. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  199. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  200. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  201. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  202. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  203. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  204. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  205. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  206. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  207. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  208. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  209. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  210. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  211. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  212. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  213. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  214. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  215. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  216. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  217. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  225. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  226. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  227. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  228. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  229. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  230. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  231. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  232. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  233. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  234. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  235. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  236. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  237. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  238. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  239. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  240. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  241. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  242. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  243. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  244. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  245. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  246. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  247. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  248. package/src-native/pods/Headers/inspector/utils.h +0 -32
  249. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  250. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  251. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  252. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  253. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  254. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  255. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  256. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  257. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  258. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  259. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  260. package/src-native/pods/Headers/runtime/Common.h +0 -9
  261. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  262. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  263. package/src-native/pods/Headers/runtime/Console.h +0 -27
  264. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  265. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  266. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  267. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  268. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  269. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  270. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  271. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  272. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  273. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  274. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  275. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  276. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  277. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  278. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  279. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  280. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  281. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  282. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  283. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  284. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  285. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  286. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  287. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  288. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  289. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  290. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  291. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  292. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  293. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  294. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  295. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  296. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  297. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  298. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  299. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  300. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  301. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  302. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  303. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  304. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  305. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  306. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,1189 +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_Page_h
8
- #define v8_inspector_protocol_Page_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
- #include "src/inspector/protocol/Debugger.h"
14
- #include "src/inspector/protocol/DOM.h"
15
- #include "src/inspector/protocol/Network.h"
16
- #include "src/inspector/protocol/Runtime.h"
17
-
18
- namespace v8_inspector {
19
- namespace protocol {
20
- namespace Page {
21
- using FrameId = String;
22
- class Frame;
23
- class FrameResource;
24
- class FrameResourceTree;
25
- class FrameTree;
26
- using ScriptIdentifier = String;
27
- class LayoutViewport;
28
- class VisualViewport;
29
- class Viewport;
30
- class FontFamilies;
31
- class FontSizes;
32
- using ClientNavigationReason = String;
33
-
34
- // ------------- Forward and enum declarations.
35
-
36
- namespace ClientNavigationReasonEnum {
37
- extern const char FormSubmissionGet[];
38
- extern const char FormSubmissionPost[];
39
- extern const char HttpHeaderRefresh[];
40
- extern const char ScriptInitiated[];
41
- extern const char MetaTagRefresh[];
42
- extern const char PageBlockInterstitial[];
43
- extern const char Reload[];
44
- } // namespace ClientNavigationReasonEnum
45
-
46
- namespace CaptureScreenshot {
47
- namespace FormatEnum {
48
- extern const char* Jpeg;
49
- extern const char* Png;
50
- } // FormatEnum
51
- } // CaptureScreenshot
52
-
53
- namespace CaptureSnapshot {
54
- namespace FormatEnum {
55
- extern const char* Mhtml;
56
- } // FormatEnum
57
- } // CaptureSnapshot
58
-
59
- namespace PrintToPDF {
60
- namespace TransferModeEnum {
61
- extern const char* ReturnAsBase64;
62
- extern const char* ReturnAsStream;
63
- } // TransferModeEnum
64
- } // PrintToPDF
65
-
66
- namespace SetDownloadBehavior {
67
- namespace BehaviorEnum {
68
- extern const char* Deny;
69
- extern const char* Allow;
70
- extern const char* Default;
71
- } // BehaviorEnum
72
- } // SetDownloadBehavior
73
-
74
- namespace SetTouchEmulationEnabled {
75
- namespace ConfigurationEnum {
76
- extern const char* Mobile;
77
- extern const char* Desktop;
78
- } // ConfigurationEnum
79
- } // SetTouchEmulationEnabled
80
-
81
- namespace StartScreencast {
82
- namespace FormatEnum {
83
- extern const char* Jpeg;
84
- extern const char* Png;
85
- } // FormatEnum
86
- } // StartScreencast
87
-
88
- namespace SetWebLifecycleState {
89
- namespace StateEnum {
90
- extern const char* Frozen;
91
- extern const char* Active;
92
- } // StateEnum
93
- } // SetWebLifecycleState
94
-
95
- namespace FileChooserOpened {
96
- namespace ModeEnum {
97
- extern const char* SelectSingle;
98
- extern const char* SelectMultiple;
99
- } // ModeEnum
100
- } // FileChooserOpened
101
-
102
- namespace FrameScheduledNavigation {
103
- namespace ReasonEnum {
104
- extern const char* FormSubmissionGet;
105
- extern const char* FormSubmissionPost;
106
- extern const char* HttpHeaderRefresh;
107
- extern const char* ScriptInitiated;
108
- extern const char* MetaTagRefresh;
109
- extern const char* PageBlockInterstitial;
110
- extern const char* Reload;
111
- } // ReasonEnum
112
- } // FrameScheduledNavigation
113
-
114
- // ------------- Type and builder declarations.
115
-
116
- class Frame : public ::v8_crdtp::ProtocolObject<Frame> {
117
- public:
118
- ~Frame() override { }
119
-
120
- String getId() { return m_id; }
121
- void setId(const String& value) { m_id = value; }
122
-
123
- bool hasParentId() { return m_parentId.isJust(); }
124
- String getParentId(const String& defaultValue) { return m_parentId.isJust() ? m_parentId.fromJust() : defaultValue; }
125
- void setParentId(const String& value) { m_parentId = value; }
126
-
127
- String getLoaderId() { return m_loaderId; }
128
- void setLoaderId(const String& value) { m_loaderId = value; }
129
-
130
- bool hasName() { return m_name.isJust(); }
131
- String getName(const String& defaultValue) { return m_name.isJust() ? m_name.fromJust() : defaultValue; }
132
- void setName(const String& value) { m_name = value; }
133
-
134
- String getUrl() { return m_url; }
135
- void setUrl(const String& value) { m_url = value; }
136
-
137
- bool hasUrlFragment() { return m_urlFragment.isJust(); }
138
- String getUrlFragment(const String& defaultValue) { return m_urlFragment.isJust() ? m_urlFragment.fromJust() : defaultValue; }
139
- void setUrlFragment(const String& value) { m_urlFragment = value; }
140
-
141
- String getSecurityOrigin() { return m_securityOrigin; }
142
- void setSecurityOrigin(const String& value) { m_securityOrigin = value; }
143
-
144
- String getMimeType() { return m_mimeType; }
145
- void setMimeType(const String& value) { m_mimeType = value; }
146
-
147
- bool hasUnreachableUrl() { return m_unreachableUrl.isJust(); }
148
- String getUnreachableUrl(const String& defaultValue) { return m_unreachableUrl.isJust() ? m_unreachableUrl.fromJust() : defaultValue; }
149
- void setUnreachableUrl(const String& value) { m_unreachableUrl = value; }
150
-
151
- template<int STATE>
152
- class FrameBuilder {
153
- public:
154
- enum {
155
- NoFieldsSet = 0,
156
- IdSet = 1 << 1,
157
- LoaderIdSet = 1 << 2,
158
- UrlSet = 1 << 3,
159
- SecurityOriginSet = 1 << 4,
160
- MimeTypeSet = 1 << 5,
161
- AllFieldsSet = (IdSet | LoaderIdSet | UrlSet | SecurityOriginSet | MimeTypeSet | 0)};
162
-
163
-
164
- FrameBuilder<STATE | IdSet>& setId(const String& value)
165
- {
166
- static_assert(!(STATE & IdSet), "property id should not be set yet");
167
- m_result->setId(value);
168
- return castState<IdSet>();
169
- }
170
-
171
- FrameBuilder<STATE>& setParentId(const String& value)
172
- {
173
- m_result->setParentId(value);
174
- return *this;
175
- }
176
-
177
- FrameBuilder<STATE | LoaderIdSet>& setLoaderId(const String& value)
178
- {
179
- static_assert(!(STATE & LoaderIdSet), "property loaderId should not be set yet");
180
- m_result->setLoaderId(value);
181
- return castState<LoaderIdSet>();
182
- }
183
-
184
- FrameBuilder<STATE>& setName(const String& value)
185
- {
186
- m_result->setName(value);
187
- return *this;
188
- }
189
-
190
- FrameBuilder<STATE | UrlSet>& setUrl(const String& value)
191
- {
192
- static_assert(!(STATE & UrlSet), "property url should not be set yet");
193
- m_result->setUrl(value);
194
- return castState<UrlSet>();
195
- }
196
-
197
- FrameBuilder<STATE>& setUrlFragment(const String& value)
198
- {
199
- m_result->setUrlFragment(value);
200
- return *this;
201
- }
202
-
203
- FrameBuilder<STATE | SecurityOriginSet>& setSecurityOrigin(const String& value)
204
- {
205
- static_assert(!(STATE & SecurityOriginSet), "property securityOrigin should not be set yet");
206
- m_result->setSecurityOrigin(value);
207
- return castState<SecurityOriginSet>();
208
- }
209
-
210
- FrameBuilder<STATE | MimeTypeSet>& setMimeType(const String& value)
211
- {
212
- static_assert(!(STATE & MimeTypeSet), "property mimeType should not be set yet");
213
- m_result->setMimeType(value);
214
- return castState<MimeTypeSet>();
215
- }
216
-
217
- FrameBuilder<STATE>& setUnreachableUrl(const String& value)
218
- {
219
- m_result->setUnreachableUrl(value);
220
- return *this;
221
- }
222
-
223
- std::unique_ptr<Frame> build()
224
- {
225
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
226
- return std::move(m_result);
227
- }
228
-
229
- private:
230
- friend class Frame;
231
- FrameBuilder() : m_result(new Frame()) { }
232
-
233
- template<int STEP> FrameBuilder<STATE | STEP>& castState()
234
- {
235
- return *reinterpret_cast<FrameBuilder<STATE | STEP>*>(this);
236
- }
237
-
238
- std::unique_ptr<protocol::Page::Frame> m_result;
239
- };
240
-
241
- static FrameBuilder<0> create()
242
- {
243
- return FrameBuilder<0>();
244
- }
245
-
246
- private:
247
- DECLARE_SERIALIZATION_SUPPORT();
248
-
249
- Frame()
250
- {
251
- }
252
-
253
- String m_id;
254
- Maybe<String> m_parentId;
255
- String m_loaderId;
256
- Maybe<String> m_name;
257
- String m_url;
258
- Maybe<String> m_urlFragment;
259
- String m_securityOrigin;
260
- String m_mimeType;
261
- Maybe<String> m_unreachableUrl;
262
- };
263
-
264
-
265
- class FrameResource : public ::v8_crdtp::ProtocolObject<FrameResource> {
266
- public:
267
- ~FrameResource() override { }
268
-
269
- String getUrl() { return m_url; }
270
- void setUrl(const String& value) { m_url = value; }
271
-
272
- String getType() { return m_type; }
273
- void setType(const String& value) { m_type = value; }
274
-
275
- String getMimeType() { return m_mimeType; }
276
- void setMimeType(const String& value) { m_mimeType = value; }
277
-
278
- bool hasLastModified() { return m_lastModified.isJust(); }
279
- double getLastModified(double defaultValue) { return m_lastModified.isJust() ? m_lastModified.fromJust() : defaultValue; }
280
- void setLastModified(double value) { m_lastModified = value; }
281
-
282
- bool hasContentSize() { return m_contentSize.isJust(); }
283
- double getContentSize(double defaultValue) { return m_contentSize.isJust() ? m_contentSize.fromJust() : defaultValue; }
284
- void setContentSize(double value) { m_contentSize = value; }
285
-
286
- bool hasFailed() { return m_failed.isJust(); }
287
- bool getFailed(bool defaultValue) { return m_failed.isJust() ? m_failed.fromJust() : defaultValue; }
288
- void setFailed(bool value) { m_failed = value; }
289
-
290
- bool hasCanceled() { return m_canceled.isJust(); }
291
- bool getCanceled(bool defaultValue) { return m_canceled.isJust() ? m_canceled.fromJust() : defaultValue; }
292
- void setCanceled(bool value) { m_canceled = value; }
293
-
294
- template<int STATE>
295
- class FrameResourceBuilder {
296
- public:
297
- enum {
298
- NoFieldsSet = 0,
299
- UrlSet = 1 << 1,
300
- TypeSet = 1 << 2,
301
- MimeTypeSet = 1 << 3,
302
- AllFieldsSet = (UrlSet | TypeSet | MimeTypeSet | 0)};
303
-
304
-
305
- FrameResourceBuilder<STATE | UrlSet>& setUrl(const String& value)
306
- {
307
- static_assert(!(STATE & UrlSet), "property url should not be set yet");
308
- m_result->setUrl(value);
309
- return castState<UrlSet>();
310
- }
311
-
312
- FrameResourceBuilder<STATE | TypeSet>& setType(const String& value)
313
- {
314
- static_assert(!(STATE & TypeSet), "property type should not be set yet");
315
- m_result->setType(value);
316
- return castState<TypeSet>();
317
- }
318
-
319
- FrameResourceBuilder<STATE | MimeTypeSet>& setMimeType(const String& value)
320
- {
321
- static_assert(!(STATE & MimeTypeSet), "property mimeType should not be set yet");
322
- m_result->setMimeType(value);
323
- return castState<MimeTypeSet>();
324
- }
325
-
326
- FrameResourceBuilder<STATE>& setLastModified(double value)
327
- {
328
- m_result->setLastModified(value);
329
- return *this;
330
- }
331
-
332
- FrameResourceBuilder<STATE>& setContentSize(double value)
333
- {
334
- m_result->setContentSize(value);
335
- return *this;
336
- }
337
-
338
- FrameResourceBuilder<STATE>& setFailed(bool value)
339
- {
340
- m_result->setFailed(value);
341
- return *this;
342
- }
343
-
344
- FrameResourceBuilder<STATE>& setCanceled(bool value)
345
- {
346
- m_result->setCanceled(value);
347
- return *this;
348
- }
349
-
350
- std::unique_ptr<FrameResource> build()
351
- {
352
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
353
- return std::move(m_result);
354
- }
355
-
356
- private:
357
- friend class FrameResource;
358
- FrameResourceBuilder() : m_result(new FrameResource()) { }
359
-
360
- template<int STEP> FrameResourceBuilder<STATE | STEP>& castState()
361
- {
362
- return *reinterpret_cast<FrameResourceBuilder<STATE | STEP>*>(this);
363
- }
364
-
365
- std::unique_ptr<protocol::Page::FrameResource> m_result;
366
- };
367
-
368
- static FrameResourceBuilder<0> create()
369
- {
370
- return FrameResourceBuilder<0>();
371
- }
372
-
373
- private:
374
- DECLARE_SERIALIZATION_SUPPORT();
375
-
376
- FrameResource()
377
- {
378
- }
379
-
380
- String m_url;
381
- String m_type;
382
- String m_mimeType;
383
- Maybe<double> m_lastModified;
384
- Maybe<double> m_contentSize;
385
- Maybe<bool> m_failed;
386
- Maybe<bool> m_canceled;
387
- };
388
-
389
-
390
- class FrameResourceTree : public ::v8_crdtp::ProtocolObject<FrameResourceTree> {
391
- public:
392
- ~FrameResourceTree() override { }
393
-
394
- protocol::Page::Frame* getFrame() { return m_frame.get(); }
395
- void setFrame(std::unique_ptr<protocol::Page::Frame> value) { m_frame = std::move(value); }
396
-
397
- bool hasChildFrames() { return m_childFrames.isJust(); }
398
- protocol::Array<protocol::Page::FrameResourceTree>* getChildFrames(protocol::Array<protocol::Page::FrameResourceTree>* defaultValue) { return m_childFrames.isJust() ? m_childFrames.fromJust() : defaultValue; }
399
- void setChildFrames(std::unique_ptr<protocol::Array<protocol::Page::FrameResourceTree>> value) { m_childFrames = std::move(value); }
400
-
401
- protocol::Array<protocol::Page::FrameResource>* getResources() { return m_resources.get(); }
402
- void setResources(std::unique_ptr<protocol::Array<protocol::Page::FrameResource>> value) { m_resources = std::move(value); }
403
-
404
- template<int STATE>
405
- class FrameResourceTreeBuilder {
406
- public:
407
- enum {
408
- NoFieldsSet = 0,
409
- FrameSet = 1 << 1,
410
- ResourcesSet = 1 << 2,
411
- AllFieldsSet = (FrameSet | ResourcesSet | 0)};
412
-
413
-
414
- FrameResourceTreeBuilder<STATE | FrameSet>& setFrame(std::unique_ptr<protocol::Page::Frame> value)
415
- {
416
- static_assert(!(STATE & FrameSet), "property frame should not be set yet");
417
- m_result->setFrame(std::move(value));
418
- return castState<FrameSet>();
419
- }
420
-
421
- FrameResourceTreeBuilder<STATE>& setChildFrames(std::unique_ptr<protocol::Array<protocol::Page::FrameResourceTree>> value)
422
- {
423
- m_result->setChildFrames(std::move(value));
424
- return *this;
425
- }
426
-
427
- FrameResourceTreeBuilder<STATE | ResourcesSet>& setResources(std::unique_ptr<protocol::Array<protocol::Page::FrameResource>> value)
428
- {
429
- static_assert(!(STATE & ResourcesSet), "property resources should not be set yet");
430
- m_result->setResources(std::move(value));
431
- return castState<ResourcesSet>();
432
- }
433
-
434
- std::unique_ptr<FrameResourceTree> build()
435
- {
436
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
437
- return std::move(m_result);
438
- }
439
-
440
- private:
441
- friend class FrameResourceTree;
442
- FrameResourceTreeBuilder() : m_result(new FrameResourceTree()) { }
443
-
444
- template<int STEP> FrameResourceTreeBuilder<STATE | STEP>& castState()
445
- {
446
- return *reinterpret_cast<FrameResourceTreeBuilder<STATE | STEP>*>(this);
447
- }
448
-
449
- std::unique_ptr<protocol::Page::FrameResourceTree> m_result;
450
- };
451
-
452
- static FrameResourceTreeBuilder<0> create()
453
- {
454
- return FrameResourceTreeBuilder<0>();
455
- }
456
-
457
- private:
458
- DECLARE_SERIALIZATION_SUPPORT();
459
-
460
- FrameResourceTree()
461
- {
462
- }
463
-
464
- std::unique_ptr<protocol::Page::Frame> m_frame;
465
- Maybe<protocol::Array<protocol::Page::FrameResourceTree>> m_childFrames;
466
- std::unique_ptr<protocol::Array<protocol::Page::FrameResource>> m_resources;
467
- };
468
-
469
-
470
- class FrameTree : public ::v8_crdtp::ProtocolObject<FrameTree> {
471
- public:
472
- ~FrameTree() override { }
473
-
474
- protocol::Page::Frame* getFrame() { return m_frame.get(); }
475
- void setFrame(std::unique_ptr<protocol::Page::Frame> value) { m_frame = std::move(value); }
476
-
477
- bool hasChildFrames() { return m_childFrames.isJust(); }
478
- protocol::Array<protocol::Page::FrameTree>* getChildFrames(protocol::Array<protocol::Page::FrameTree>* defaultValue) { return m_childFrames.isJust() ? m_childFrames.fromJust() : defaultValue; }
479
- void setChildFrames(std::unique_ptr<protocol::Array<protocol::Page::FrameTree>> value) { m_childFrames = std::move(value); }
480
-
481
- template<int STATE>
482
- class FrameTreeBuilder {
483
- public:
484
- enum {
485
- NoFieldsSet = 0,
486
- FrameSet = 1 << 1,
487
- AllFieldsSet = (FrameSet | 0)};
488
-
489
-
490
- FrameTreeBuilder<STATE | FrameSet>& setFrame(std::unique_ptr<protocol::Page::Frame> value)
491
- {
492
- static_assert(!(STATE & FrameSet), "property frame should not be set yet");
493
- m_result->setFrame(std::move(value));
494
- return castState<FrameSet>();
495
- }
496
-
497
- FrameTreeBuilder<STATE>& setChildFrames(std::unique_ptr<protocol::Array<protocol::Page::FrameTree>> value)
498
- {
499
- m_result->setChildFrames(std::move(value));
500
- return *this;
501
- }
502
-
503
- std::unique_ptr<FrameTree> build()
504
- {
505
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
506
- return std::move(m_result);
507
- }
508
-
509
- private:
510
- friend class FrameTree;
511
- FrameTreeBuilder() : m_result(new FrameTree()) { }
512
-
513
- template<int STEP> FrameTreeBuilder<STATE | STEP>& castState()
514
- {
515
- return *reinterpret_cast<FrameTreeBuilder<STATE | STEP>*>(this);
516
- }
517
-
518
- std::unique_ptr<protocol::Page::FrameTree> m_result;
519
- };
520
-
521
- static FrameTreeBuilder<0> create()
522
- {
523
- return FrameTreeBuilder<0>();
524
- }
525
-
526
- private:
527
- DECLARE_SERIALIZATION_SUPPORT();
528
-
529
- FrameTree()
530
- {
531
- }
532
-
533
- std::unique_ptr<protocol::Page::Frame> m_frame;
534
- Maybe<protocol::Array<protocol::Page::FrameTree>> m_childFrames;
535
- };
536
-
537
-
538
- class LayoutViewport : public ::v8_crdtp::ProtocolObject<LayoutViewport> {
539
- public:
540
- ~LayoutViewport() override { }
541
-
542
- int getPageX() { return m_pageX; }
543
- void setPageX(int value) { m_pageX = value; }
544
-
545
- int getPageY() { return m_pageY; }
546
- void setPageY(int value) { m_pageY = value; }
547
-
548
- int getClientWidth() { return m_clientWidth; }
549
- void setClientWidth(int value) { m_clientWidth = value; }
550
-
551
- int getClientHeight() { return m_clientHeight; }
552
- void setClientHeight(int value) { m_clientHeight = value; }
553
-
554
- template<int STATE>
555
- class LayoutViewportBuilder {
556
- public:
557
- enum {
558
- NoFieldsSet = 0,
559
- PageXSet = 1 << 1,
560
- PageYSet = 1 << 2,
561
- ClientWidthSet = 1 << 3,
562
- ClientHeightSet = 1 << 4,
563
- AllFieldsSet = (PageXSet | PageYSet | ClientWidthSet | ClientHeightSet | 0)};
564
-
565
-
566
- LayoutViewportBuilder<STATE | PageXSet>& setPageX(int value)
567
- {
568
- static_assert(!(STATE & PageXSet), "property pageX should not be set yet");
569
- m_result->setPageX(value);
570
- return castState<PageXSet>();
571
- }
572
-
573
- LayoutViewportBuilder<STATE | PageYSet>& setPageY(int value)
574
- {
575
- static_assert(!(STATE & PageYSet), "property pageY should not be set yet");
576
- m_result->setPageY(value);
577
- return castState<PageYSet>();
578
- }
579
-
580
- LayoutViewportBuilder<STATE | ClientWidthSet>& setClientWidth(int value)
581
- {
582
- static_assert(!(STATE & ClientWidthSet), "property clientWidth should not be set yet");
583
- m_result->setClientWidth(value);
584
- return castState<ClientWidthSet>();
585
- }
586
-
587
- LayoutViewportBuilder<STATE | ClientHeightSet>& setClientHeight(int value)
588
- {
589
- static_assert(!(STATE & ClientHeightSet), "property clientHeight should not be set yet");
590
- m_result->setClientHeight(value);
591
- return castState<ClientHeightSet>();
592
- }
593
-
594
- std::unique_ptr<LayoutViewport> build()
595
- {
596
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
597
- return std::move(m_result);
598
- }
599
-
600
- private:
601
- friend class LayoutViewport;
602
- LayoutViewportBuilder() : m_result(new LayoutViewport()) { }
603
-
604
- template<int STEP> LayoutViewportBuilder<STATE | STEP>& castState()
605
- {
606
- return *reinterpret_cast<LayoutViewportBuilder<STATE | STEP>*>(this);
607
- }
608
-
609
- std::unique_ptr<protocol::Page::LayoutViewport> m_result;
610
- };
611
-
612
- static LayoutViewportBuilder<0> create()
613
- {
614
- return LayoutViewportBuilder<0>();
615
- }
616
-
617
- private:
618
- DECLARE_SERIALIZATION_SUPPORT();
619
-
620
- LayoutViewport()
621
- {
622
- m_pageX = 0;
623
- m_pageY = 0;
624
- m_clientWidth = 0;
625
- m_clientHeight = 0;
626
- }
627
-
628
- int m_pageX;
629
- int m_pageY;
630
- int m_clientWidth;
631
- int m_clientHeight;
632
- };
633
-
634
-
635
- class VisualViewport : public ::v8_crdtp::ProtocolObject<VisualViewport> {
636
- public:
637
- ~VisualViewport() override { }
638
-
639
- double getOffsetX() { return m_offsetX; }
640
- void setOffsetX(double value) { m_offsetX = value; }
641
-
642
- double getOffsetY() { return m_offsetY; }
643
- void setOffsetY(double value) { m_offsetY = value; }
644
-
645
- double getPageX() { return m_pageX; }
646
- void setPageX(double value) { m_pageX = value; }
647
-
648
- double getPageY() { return m_pageY; }
649
- void setPageY(double value) { m_pageY = value; }
650
-
651
- double getClientWidth() { return m_clientWidth; }
652
- void setClientWidth(double value) { m_clientWidth = value; }
653
-
654
- double getClientHeight() { return m_clientHeight; }
655
- void setClientHeight(double value) { m_clientHeight = value; }
656
-
657
- double getScale() { return m_scale; }
658
- void setScale(double value) { m_scale = value; }
659
-
660
- bool hasZoom() { return m_zoom.isJust(); }
661
- double getZoom(double defaultValue) { return m_zoom.isJust() ? m_zoom.fromJust() : defaultValue; }
662
- void setZoom(double value) { m_zoom = value; }
663
-
664
- template<int STATE>
665
- class VisualViewportBuilder {
666
- public:
667
- enum {
668
- NoFieldsSet = 0,
669
- OffsetXSet = 1 << 1,
670
- OffsetYSet = 1 << 2,
671
- PageXSet = 1 << 3,
672
- PageYSet = 1 << 4,
673
- ClientWidthSet = 1 << 5,
674
- ClientHeightSet = 1 << 6,
675
- ScaleSet = 1 << 7,
676
- AllFieldsSet = (OffsetXSet | OffsetYSet | PageXSet | PageYSet | ClientWidthSet | ClientHeightSet | ScaleSet | 0)};
677
-
678
-
679
- VisualViewportBuilder<STATE | OffsetXSet>& setOffsetX(double value)
680
- {
681
- static_assert(!(STATE & OffsetXSet), "property offsetX should not be set yet");
682
- m_result->setOffsetX(value);
683
- return castState<OffsetXSet>();
684
- }
685
-
686
- VisualViewportBuilder<STATE | OffsetYSet>& setOffsetY(double value)
687
- {
688
- static_assert(!(STATE & OffsetYSet), "property offsetY should not be set yet");
689
- m_result->setOffsetY(value);
690
- return castState<OffsetYSet>();
691
- }
692
-
693
- VisualViewportBuilder<STATE | PageXSet>& setPageX(double value)
694
- {
695
- static_assert(!(STATE & PageXSet), "property pageX should not be set yet");
696
- m_result->setPageX(value);
697
- return castState<PageXSet>();
698
- }
699
-
700
- VisualViewportBuilder<STATE | PageYSet>& setPageY(double value)
701
- {
702
- static_assert(!(STATE & PageYSet), "property pageY should not be set yet");
703
- m_result->setPageY(value);
704
- return castState<PageYSet>();
705
- }
706
-
707
- VisualViewportBuilder<STATE | ClientWidthSet>& setClientWidth(double value)
708
- {
709
- static_assert(!(STATE & ClientWidthSet), "property clientWidth should not be set yet");
710
- m_result->setClientWidth(value);
711
- return castState<ClientWidthSet>();
712
- }
713
-
714
- VisualViewportBuilder<STATE | ClientHeightSet>& setClientHeight(double value)
715
- {
716
- static_assert(!(STATE & ClientHeightSet), "property clientHeight should not be set yet");
717
- m_result->setClientHeight(value);
718
- return castState<ClientHeightSet>();
719
- }
720
-
721
- VisualViewportBuilder<STATE | ScaleSet>& setScale(double value)
722
- {
723
- static_assert(!(STATE & ScaleSet), "property scale should not be set yet");
724
- m_result->setScale(value);
725
- return castState<ScaleSet>();
726
- }
727
-
728
- VisualViewportBuilder<STATE>& setZoom(double value)
729
- {
730
- m_result->setZoom(value);
731
- return *this;
732
- }
733
-
734
- std::unique_ptr<VisualViewport> build()
735
- {
736
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
737
- return std::move(m_result);
738
- }
739
-
740
- private:
741
- friend class VisualViewport;
742
- VisualViewportBuilder() : m_result(new VisualViewport()) { }
743
-
744
- template<int STEP> VisualViewportBuilder<STATE | STEP>& castState()
745
- {
746
- return *reinterpret_cast<VisualViewportBuilder<STATE | STEP>*>(this);
747
- }
748
-
749
- std::unique_ptr<protocol::Page::VisualViewport> m_result;
750
- };
751
-
752
- static VisualViewportBuilder<0> create()
753
- {
754
- return VisualViewportBuilder<0>();
755
- }
756
-
757
- private:
758
- DECLARE_SERIALIZATION_SUPPORT();
759
-
760
- VisualViewport()
761
- {
762
- m_offsetX = 0;
763
- m_offsetY = 0;
764
- m_pageX = 0;
765
- m_pageY = 0;
766
- m_clientWidth = 0;
767
- m_clientHeight = 0;
768
- m_scale = 0;
769
- }
770
-
771
- double m_offsetX;
772
- double m_offsetY;
773
- double m_pageX;
774
- double m_pageY;
775
- double m_clientWidth;
776
- double m_clientHeight;
777
- double m_scale;
778
- Maybe<double> m_zoom;
779
- };
780
-
781
-
782
- class Viewport : public ::v8_crdtp::ProtocolObject<Viewport> {
783
- public:
784
- ~Viewport() override { }
785
-
786
- double getX() { return m_x; }
787
- void setX(double value) { m_x = value; }
788
-
789
- double getY() { return m_y; }
790
- void setY(double value) { m_y = value; }
791
-
792
- double getWidth() { return m_width; }
793
- void setWidth(double value) { m_width = value; }
794
-
795
- double getHeight() { return m_height; }
796
- void setHeight(double value) { m_height = value; }
797
-
798
- double getScale() { return m_scale; }
799
- void setScale(double value) { m_scale = value; }
800
-
801
- template<int STATE>
802
- class ViewportBuilder {
803
- public:
804
- enum {
805
- NoFieldsSet = 0,
806
- XSet = 1 << 1,
807
- YSet = 1 << 2,
808
- WidthSet = 1 << 3,
809
- HeightSet = 1 << 4,
810
- ScaleSet = 1 << 5,
811
- AllFieldsSet = (XSet | YSet | WidthSet | HeightSet | ScaleSet | 0)};
812
-
813
-
814
- ViewportBuilder<STATE | XSet>& setX(double value)
815
- {
816
- static_assert(!(STATE & XSet), "property x should not be set yet");
817
- m_result->setX(value);
818
- return castState<XSet>();
819
- }
820
-
821
- ViewportBuilder<STATE | YSet>& setY(double value)
822
- {
823
- static_assert(!(STATE & YSet), "property y should not be set yet");
824
- m_result->setY(value);
825
- return castState<YSet>();
826
- }
827
-
828
- ViewportBuilder<STATE | WidthSet>& setWidth(double value)
829
- {
830
- static_assert(!(STATE & WidthSet), "property width should not be set yet");
831
- m_result->setWidth(value);
832
- return castState<WidthSet>();
833
- }
834
-
835
- ViewportBuilder<STATE | HeightSet>& setHeight(double value)
836
- {
837
- static_assert(!(STATE & HeightSet), "property height should not be set yet");
838
- m_result->setHeight(value);
839
- return castState<HeightSet>();
840
- }
841
-
842
- ViewportBuilder<STATE | ScaleSet>& setScale(double value)
843
- {
844
- static_assert(!(STATE & ScaleSet), "property scale should not be set yet");
845
- m_result->setScale(value);
846
- return castState<ScaleSet>();
847
- }
848
-
849
- std::unique_ptr<Viewport> build()
850
- {
851
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
852
- return std::move(m_result);
853
- }
854
-
855
- private:
856
- friend class Viewport;
857
- ViewportBuilder() : m_result(new Viewport()) { }
858
-
859
- template<int STEP> ViewportBuilder<STATE | STEP>& castState()
860
- {
861
- return *reinterpret_cast<ViewportBuilder<STATE | STEP>*>(this);
862
- }
863
-
864
- std::unique_ptr<protocol::Page::Viewport> m_result;
865
- };
866
-
867
- static ViewportBuilder<0> create()
868
- {
869
- return ViewportBuilder<0>();
870
- }
871
-
872
- private:
873
- DECLARE_SERIALIZATION_SUPPORT();
874
-
875
- Viewport()
876
- {
877
- m_x = 0;
878
- m_y = 0;
879
- m_width = 0;
880
- m_height = 0;
881
- m_scale = 0;
882
- }
883
-
884
- double m_x;
885
- double m_y;
886
- double m_width;
887
- double m_height;
888
- double m_scale;
889
- };
890
-
891
-
892
- class FontFamilies : public ::v8_crdtp::ProtocolObject<FontFamilies> {
893
- public:
894
- ~FontFamilies() override { }
895
-
896
- bool hasStandard() { return m_standard.isJust(); }
897
- String getStandard(const String& defaultValue) { return m_standard.isJust() ? m_standard.fromJust() : defaultValue; }
898
- void setStandard(const String& value) { m_standard = value; }
899
-
900
- bool hasFixed() { return m_fixed.isJust(); }
901
- String getFixed(const String& defaultValue) { return m_fixed.isJust() ? m_fixed.fromJust() : defaultValue; }
902
- void setFixed(const String& value) { m_fixed = value; }
903
-
904
- bool hasSerif() { return m_serif.isJust(); }
905
- String getSerif(const String& defaultValue) { return m_serif.isJust() ? m_serif.fromJust() : defaultValue; }
906
- void setSerif(const String& value) { m_serif = value; }
907
-
908
- bool hasSansSerif() { return m_sansSerif.isJust(); }
909
- String getSansSerif(const String& defaultValue) { return m_sansSerif.isJust() ? m_sansSerif.fromJust() : defaultValue; }
910
- void setSansSerif(const String& value) { m_sansSerif = value; }
911
-
912
- bool hasCursive() { return m_cursive.isJust(); }
913
- String getCursive(const String& defaultValue) { return m_cursive.isJust() ? m_cursive.fromJust() : defaultValue; }
914
- void setCursive(const String& value) { m_cursive = value; }
915
-
916
- bool hasFantasy() { return m_fantasy.isJust(); }
917
- String getFantasy(const String& defaultValue) { return m_fantasy.isJust() ? m_fantasy.fromJust() : defaultValue; }
918
- void setFantasy(const String& value) { m_fantasy = value; }
919
-
920
- bool hasPictograph() { return m_pictograph.isJust(); }
921
- String getPictograph(const String& defaultValue) { return m_pictograph.isJust() ? m_pictograph.fromJust() : defaultValue; }
922
- void setPictograph(const String& value) { m_pictograph = value; }
923
-
924
- template<int STATE>
925
- class FontFamiliesBuilder {
926
- public:
927
- enum {
928
- NoFieldsSet = 0,
929
- AllFieldsSet = (0)};
930
-
931
-
932
- FontFamiliesBuilder<STATE>& setStandard(const String& value)
933
- {
934
- m_result->setStandard(value);
935
- return *this;
936
- }
937
-
938
- FontFamiliesBuilder<STATE>& setFixed(const String& value)
939
- {
940
- m_result->setFixed(value);
941
- return *this;
942
- }
943
-
944
- FontFamiliesBuilder<STATE>& setSerif(const String& value)
945
- {
946
- m_result->setSerif(value);
947
- return *this;
948
- }
949
-
950
- FontFamiliesBuilder<STATE>& setSansSerif(const String& value)
951
- {
952
- m_result->setSansSerif(value);
953
- return *this;
954
- }
955
-
956
- FontFamiliesBuilder<STATE>& setCursive(const String& value)
957
- {
958
- m_result->setCursive(value);
959
- return *this;
960
- }
961
-
962
- FontFamiliesBuilder<STATE>& setFantasy(const String& value)
963
- {
964
- m_result->setFantasy(value);
965
- return *this;
966
- }
967
-
968
- FontFamiliesBuilder<STATE>& setPictograph(const String& value)
969
- {
970
- m_result->setPictograph(value);
971
- return *this;
972
- }
973
-
974
- std::unique_ptr<FontFamilies> build()
975
- {
976
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
977
- return std::move(m_result);
978
- }
979
-
980
- private:
981
- friend class FontFamilies;
982
- FontFamiliesBuilder() : m_result(new FontFamilies()) { }
983
-
984
- template<int STEP> FontFamiliesBuilder<STATE | STEP>& castState()
985
- {
986
- return *reinterpret_cast<FontFamiliesBuilder<STATE | STEP>*>(this);
987
- }
988
-
989
- std::unique_ptr<protocol::Page::FontFamilies> m_result;
990
- };
991
-
992
- static FontFamiliesBuilder<0> create()
993
- {
994
- return FontFamiliesBuilder<0>();
995
- }
996
-
997
- private:
998
- DECLARE_SERIALIZATION_SUPPORT();
999
-
1000
- FontFamilies()
1001
- {
1002
- }
1003
-
1004
- Maybe<String> m_standard;
1005
- Maybe<String> m_fixed;
1006
- Maybe<String> m_serif;
1007
- Maybe<String> m_sansSerif;
1008
- Maybe<String> m_cursive;
1009
- Maybe<String> m_fantasy;
1010
- Maybe<String> m_pictograph;
1011
- };
1012
-
1013
-
1014
- class FontSizes : public ::v8_crdtp::ProtocolObject<FontSizes> {
1015
- public:
1016
- ~FontSizes() override { }
1017
-
1018
- bool hasStandard() { return m_standard.isJust(); }
1019
- int getStandard(int defaultValue) { return m_standard.isJust() ? m_standard.fromJust() : defaultValue; }
1020
- void setStandard(int value) { m_standard = value; }
1021
-
1022
- bool hasFixed() { return m_fixed.isJust(); }
1023
- int getFixed(int defaultValue) { return m_fixed.isJust() ? m_fixed.fromJust() : defaultValue; }
1024
- void setFixed(int value) { m_fixed = value; }
1025
-
1026
- template<int STATE>
1027
- class FontSizesBuilder {
1028
- public:
1029
- enum {
1030
- NoFieldsSet = 0,
1031
- AllFieldsSet = (0)};
1032
-
1033
-
1034
- FontSizesBuilder<STATE>& setStandard(int value)
1035
- {
1036
- m_result->setStandard(value);
1037
- return *this;
1038
- }
1039
-
1040
- FontSizesBuilder<STATE>& setFixed(int value)
1041
- {
1042
- m_result->setFixed(value);
1043
- return *this;
1044
- }
1045
-
1046
- std::unique_ptr<FontSizes> build()
1047
- {
1048
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
1049
- return std::move(m_result);
1050
- }
1051
-
1052
- private:
1053
- friend class FontSizes;
1054
- FontSizesBuilder() : m_result(new FontSizes()) { }
1055
-
1056
- template<int STEP> FontSizesBuilder<STATE | STEP>& castState()
1057
- {
1058
- return *reinterpret_cast<FontSizesBuilder<STATE | STEP>*>(this);
1059
- }
1060
-
1061
- std::unique_ptr<protocol::Page::FontSizes> m_result;
1062
- };
1063
-
1064
- static FontSizesBuilder<0> create()
1065
- {
1066
- return FontSizesBuilder<0>();
1067
- }
1068
-
1069
- private:
1070
- DECLARE_SERIALIZATION_SUPPORT();
1071
-
1072
- FontSizes()
1073
- {
1074
- }
1075
-
1076
- Maybe<int> m_standard;
1077
- Maybe<int> m_fixed;
1078
- };
1079
-
1080
-
1081
- // ------------- Backend interface.
1082
-
1083
- class Backend {
1084
- public:
1085
- virtual ~Backend() { }
1086
-
1087
- virtual DispatchResponse addScriptToEvaluateOnLoad(const String& in_scriptSource, String* out_identifier) = 0;
1088
- virtual DispatchResponse addScriptToEvaluateOnNewDocument(const String& in_source, Maybe<String> in_worldName, String* out_identifier) = 0;
1089
- virtual DispatchResponse createIsolatedWorld(const String& in_frameId, Maybe<String> in_worldName, Maybe<bool> in_grantUniveralAccess, int* out_executionContextId) = 0;
1090
- virtual DispatchResponse disable() = 0;
1091
- virtual DispatchResponse enable() = 0;
1092
- virtual DispatchResponse getInstallabilityErrors(std::unique_ptr<protocol::Array<String>>* out_errors) = 0;
1093
- virtual DispatchResponse getManifestIcons(Maybe<Binary>* out_primaryIcon) = 0;
1094
- virtual DispatchResponse getFrameTree(std::unique_ptr<protocol::Page::FrameTree>* out_frameTree) = 0;
1095
- virtual DispatchResponse getLayoutMetrics(std::unique_ptr<protocol::Page::LayoutViewport>* out_layoutViewport, std::unique_ptr<protocol::Page::VisualViewport>* out_visualViewport, std::unique_ptr<protocol::DOM::Rect>* out_contentSize) = 0;
1096
- class GetResourceContentCallback {
1097
- public:
1098
- virtual void sendSuccess(const String& content, bool base64Encoded) = 0;
1099
- virtual void sendFailure(const DispatchResponse&) = 0;
1100
- virtual void fallThrough() = 0;
1101
- virtual ~GetResourceContentCallback() { }
1102
- };
1103
- virtual void getResourceContent(const String& in_frameId, const String& in_url, std::unique_ptr<GetResourceContentCallback> callback) = 0;
1104
- virtual DispatchResponse getResourceTree(std::unique_ptr<protocol::Page::FrameResourceTree>* out_frameTree) = 0;
1105
- virtual DispatchResponse reload(Maybe<bool> in_ignoreCache, Maybe<String> in_scriptToEvaluateOnLoad) = 0;
1106
- virtual DispatchResponse removeScriptToEvaluateOnLoad(const String& in_identifier) = 0;
1107
- virtual DispatchResponse removeScriptToEvaluateOnNewDocument(const String& in_identifier) = 0;
1108
- class SearchInResourceCallback {
1109
- public:
1110
- virtual void sendSuccess(std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>> result) = 0;
1111
- virtual void sendFailure(const DispatchResponse&) = 0;
1112
- virtual void fallThrough() = 0;
1113
- virtual ~SearchInResourceCallback() { }
1114
- };
1115
- virtual void searchInResource(const String& in_frameId, const String& in_url, const String& in_query, Maybe<bool> in_caseSensitive, Maybe<bool> in_isRegex, std::unique_ptr<SearchInResourceCallback> callback) = 0;
1116
- virtual DispatchResponse setAdBlockingEnabled(bool in_enabled) = 0;
1117
- virtual DispatchResponse setBypassCSP(bool in_enabled) = 0;
1118
- virtual DispatchResponse setFontFamilies(std::unique_ptr<protocol::Page::FontFamilies> in_fontFamilies) = 0;
1119
- virtual DispatchResponse setFontSizes(std::unique_ptr<protocol::Page::FontSizes> in_fontSizes) = 0;
1120
- virtual DispatchResponse setDocumentContent(const String& in_frameId, const String& in_html) = 0;
1121
- virtual DispatchResponse setLifecycleEventsEnabled(bool in_enabled) = 0;
1122
- virtual DispatchResponse startScreencast(Maybe<String> in_format, Maybe<int> in_quality, Maybe<int> in_maxWidth, Maybe<int> in_maxHeight, Maybe<int> in_everyNthFrame) = 0;
1123
- virtual DispatchResponse stopLoading() = 0;
1124
- virtual DispatchResponse stopScreencast() = 0;
1125
- virtual DispatchResponse setProduceCompilationCache(bool in_enabled) = 0;
1126
- virtual DispatchResponse addCompilationCache(const String& in_url, const Binary& in_data) = 0;
1127
- virtual DispatchResponse clearCompilationCache() = 0;
1128
- virtual DispatchResponse generateTestReport(const String& in_message, Maybe<String> in_group) = 0;
1129
- virtual DispatchResponse waitForDebugger() = 0;
1130
- virtual DispatchResponse setInterceptFileChooserDialog(bool in_enabled) = 0;
1131
-
1132
- };
1133
-
1134
- // ------------- Frontend interface.
1135
-
1136
- class Frontend {
1137
- public:
1138
- explicit Frontend(FrontendChannel* frontend_channel) : frontend_channel_(frontend_channel) {}
1139
- void domContentEventFired(double timestamp);
1140
- void fileChooserOpened(const String& frameId, int backendNodeId, const String& mode);
1141
- void frameAttached(const String& frameId, const String& parentFrameId, Maybe<protocol::Runtime::StackTrace> stack = Maybe<protocol::Runtime::StackTrace>());
1142
- void frameClearedScheduledNavigation(const String& frameId);
1143
- void frameDetached(const String& frameId);
1144
- void frameNavigated(std::unique_ptr<protocol::Page::Frame> frame);
1145
- void frameResized();
1146
- void frameRequestedNavigation(const String& frameId, const String& reason, const String& url);
1147
- void frameScheduledNavigation(const String& frameId, double delay, const String& reason, const String& url);
1148
- void frameStartedLoading(const String& frameId);
1149
- void frameStoppedLoading(const String& frameId);
1150
- void downloadWillBegin(const String& frameId, const String& url);
1151
- void lifecycleEvent(const String& frameId, const String& loaderId, const String& name, double timestamp);
1152
- void loadEventFired(double timestamp);
1153
- void navigatedWithinDocument(const String& frameId, const String& url);
1154
- void windowOpen(const String& url, const String& windowName, std::unique_ptr<protocol::Array<String>> windowFeatures, bool userGesture);
1155
- void compilationCacheProduced(const String& url, const Binary& data);
1156
-
1157
- void flush();
1158
- void sendRawNotification(std::unique_ptr<Serializable>);
1159
- private:
1160
- FrontendChannel* frontend_channel_;
1161
- };
1162
-
1163
- // ------------- Dispatcher.
1164
-
1165
- class Dispatcher {
1166
- public:
1167
- static void wire(UberDispatcher*, Backend*);
1168
-
1169
- private:
1170
- Dispatcher() { }
1171
- };
1172
-
1173
- // ------------- Metainfo.
1174
-
1175
- class Metainfo {
1176
- public:
1177
- using BackendClass = Backend;
1178
- using FrontendClass = Frontend;
1179
- using DispatcherClass = Dispatcher;
1180
- static const char domainName[];
1181
- static const char commandPrefix[];
1182
- static const char version[];
1183
- };
1184
-
1185
- } // namespace Page
1186
- } // namespace v8_inspector
1187
- } // namespace protocol
1188
-
1189
- #endif // !defined(v8_inspector_protocol_Page_h)