index
int64
repo_id
string
file_path
string
content
string
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/dom/ShapeOutsideInfo.java
package com.github.kklisura.cdt.protocol.v2023.types.dom; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** CSS Shape Outside details. */ public class ShapeOutsideInfo { private List<Double> bounds; private List<Object> shape; private List<Object> marginShape; /** Shape bounds */ public List<Double> getBounds() { return bounds; } /** Shape bounds */ public void setBounds(List<Double> bounds) { this.bounds = bounds; } /** Shape coordinate details */ public List<Object> getShape() { return shape; } /** Shape coordinate details */ public void setShape(List<Object> shape) { this.shape = shape; } /** Margin shape bounds */ public List<Object> getMarginShape() { return marginShape; } /** Margin shape bounds */ public void setMarginShape(List<Object> marginShape) { this.marginShape = marginShape; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domdebugger/CSPViolationType.java
package com.github.kklisura.cdt.protocol.v2023.types.domdebugger; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** CSP Violation type. */ public enum CSPViolationType { @JsonProperty("trustedtype-sink-violation") TRUSTEDTYPE_SINK_VIOLATION, @JsonProperty("trustedtype-policy-violation") TRUSTEDTYPE_POLICY_VIOLATION }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domdebugger/DOMBreakpointType.java
package com.github.kklisura.cdt.protocol.v2023.types.domdebugger; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** DOM breakpoint type. */ public enum DOMBreakpointType { @JsonProperty("subtree-modified") SUBTREE_MODIFIED, @JsonProperty("attribute-modified") ATTRIBUTE_MODIFIED, @JsonProperty("node-removed") NODE_REMOVED }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domdebugger/EventListener.java
package com.github.kklisura.cdt.protocol.v2023.types.domdebugger; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.runtime.RemoteObject; /** Object event listener. */ public class EventListener { private String type; private Boolean useCapture; private Boolean passive; private Boolean once; private String scriptId; private Integer lineNumber; private Integer columnNumber; @Optional private RemoteObject handler; @Optional private RemoteObject originalHandler; @Optional private Integer backendNodeId; /** `EventListener`'s type. */ public String getType() { return type; } /** `EventListener`'s type. */ public void setType(String type) { this.type = type; } /** `EventListener`'s useCapture. */ public Boolean getUseCapture() { return useCapture; } /** `EventListener`'s useCapture. */ public void setUseCapture(Boolean useCapture) { this.useCapture = useCapture; } /** `EventListener`'s passive flag. */ public Boolean getPassive() { return passive; } /** `EventListener`'s passive flag. */ public void setPassive(Boolean passive) { this.passive = passive; } /** `EventListener`'s once flag. */ public Boolean getOnce() { return once; } /** `EventListener`'s once flag. */ public void setOnce(Boolean once) { this.once = once; } /** Script id of the handler code. */ public String getScriptId() { return scriptId; } /** Script id of the handler code. */ public void setScriptId(String scriptId) { this.scriptId = scriptId; } /** Line number in the script (0-based). */ public Integer getLineNumber() { return lineNumber; } /** Line number in the script (0-based). */ public void setLineNumber(Integer lineNumber) { this.lineNumber = lineNumber; } /** Column number in the script (0-based). */ public Integer getColumnNumber() { return columnNumber; } /** Column number in the script (0-based). */ public void setColumnNumber(Integer columnNumber) { this.columnNumber = columnNumber; } /** Event handler function value. */ public RemoteObject getHandler() { return handler; } /** Event handler function value. */ public void setHandler(RemoteObject handler) { this.handler = handler; } /** Event original handler function value. */ public RemoteObject getOriginalHandler() { return originalHandler; } /** Event original handler function value. */ public void setOriginalHandler(RemoteObject originalHandler) { this.originalHandler = originalHandler; } /** Node the listener is added to (if any). */ public Integer getBackendNodeId() { return backendNodeId; } /** Node the listener is added to (if any). */ public void setBackendNodeId(Integer backendNodeId) { this.backendNodeId = backendNodeId; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/CaptureSnapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class CaptureSnapshot { private List<DocumentSnapshot> documents; private List<String> strings; /** The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. */ public List<DocumentSnapshot> getDocuments() { return documents; } /** The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. */ public void setDocuments(List<DocumentSnapshot> documents) { this.documents = documents; } /** Shared string table that all string properties refer to with indexes. */ public List<String> getStrings() { return strings; } /** Shared string table that all string properties refer to with indexes. */ public void setStrings(List<String> strings) { this.strings = strings; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/ComputedStyle.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** A subset of the full ComputedStyle as defined by the request whitelist. */ public class ComputedStyle { private List<NameValue> properties; /** Name/value pairs of computed style properties. */ public List<NameValue> getProperties() { return properties; } /** Name/value pairs of computed style properties. */ public void setProperties(List<NameValue> properties) { this.properties = properties; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/DOMNode.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.PseudoType; import com.github.kklisura.cdt.protocol.v2023.types.dom.ShadowRootType; import com.github.kklisura.cdt.protocol.v2023.types.domdebugger.EventListener; import java.util.List; /** A Node in the DOM tree. */ public class DOMNode { private Integer nodeType; private String nodeName; private String nodeValue; @Optional private String textValue; @Optional private String inputValue; @Optional private Boolean inputChecked; @Optional private Boolean optionSelected; private Integer backendNodeId; @Optional private List<Integer> childNodeIndexes; @Optional private List<NameValue> attributes; @Optional private List<Integer> pseudoElementIndexes; @Optional private Integer layoutNodeIndex; @Optional private String documentURL; @Optional private String baseURL; @Optional private String contentLanguage; @Optional private String documentEncoding; @Optional private String publicId; @Optional private String systemId; @Optional private String frameId; @Optional private Integer contentDocumentIndex; @Optional private PseudoType pseudoType; @Optional private ShadowRootType shadowRootType; @Optional private Boolean isClickable; @Optional private List<EventListener> eventListeners; @Optional private String currentSourceURL; @Optional private String originURL; @Optional private Double scrollOffsetX; @Optional private Double scrollOffsetY; /** `Node`'s nodeType. */ public Integer getNodeType() { return nodeType; } /** `Node`'s nodeType. */ public void setNodeType(Integer nodeType) { this.nodeType = nodeType; } /** `Node`'s nodeName. */ public String getNodeName() { return nodeName; } /** `Node`'s nodeName. */ public void setNodeName(String nodeName) { this.nodeName = nodeName; } /** `Node`'s nodeValue. */ public String getNodeValue() { return nodeValue; } /** `Node`'s nodeValue. */ public void setNodeValue(String nodeValue) { this.nodeValue = nodeValue; } /** Only set for textarea elements, contains the text value. */ public String getTextValue() { return textValue; } /** Only set for textarea elements, contains the text value. */ public void setTextValue(String textValue) { this.textValue = textValue; } /** Only set for input elements, contains the input's associated text value. */ public String getInputValue() { return inputValue; } /** Only set for input elements, contains the input's associated text value. */ public void setInputValue(String inputValue) { this.inputValue = inputValue; } /** Only set for radio and checkbox input elements, indicates if the element has been checked */ public Boolean getInputChecked() { return inputChecked; } /** Only set for radio and checkbox input elements, indicates if the element has been checked */ public void setInputChecked(Boolean inputChecked) { this.inputChecked = inputChecked; } /** Only set for option elements, indicates if the element has been selected */ public Boolean getOptionSelected() { return optionSelected; } /** Only set for option elements, indicates if the element has been selected */ public void setOptionSelected(Boolean optionSelected) { this.optionSelected = optionSelected; } /** `Node`'s id, corresponds to DOM.Node.backendNodeId. */ public Integer getBackendNodeId() { return backendNodeId; } /** `Node`'s id, corresponds to DOM.Node.backendNodeId. */ public void setBackendNodeId(Integer backendNodeId) { this.backendNodeId = backendNodeId; } /** * The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if * any. */ public List<Integer> getChildNodeIndexes() { return childNodeIndexes; } /** * The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if * any. */ public void setChildNodeIndexes(List<Integer> childNodeIndexes) { this.childNodeIndexes = childNodeIndexes; } /** Attributes of an `Element` node. */ public List<NameValue> getAttributes() { return attributes; } /** Attributes of an `Element` node. */ public void setAttributes(List<NameValue> attributes) { this.attributes = attributes; } /** * Indexes of pseudo elements associated with this node in the `domNodes` array returned by * `getSnapshot`, if any. */ public List<Integer> getPseudoElementIndexes() { return pseudoElementIndexes; } /** * Indexes of pseudo elements associated with this node in the `domNodes` array returned by * `getSnapshot`, if any. */ public void setPseudoElementIndexes(List<Integer> pseudoElementIndexes) { this.pseudoElementIndexes = pseudoElementIndexes; } /** * The index of the node's related layout tree node in the `layoutTreeNodes` array returned by * `getSnapshot`, if any. */ public Integer getLayoutNodeIndex() { return layoutNodeIndex; } /** * The index of the node's related layout tree node in the `layoutTreeNodes` array returned by * `getSnapshot`, if any. */ public void setLayoutNodeIndex(Integer layoutNodeIndex) { this.layoutNodeIndex = layoutNodeIndex; } /** Document URL that `Document` or `FrameOwner` node points to. */ public String getDocumentURL() { return documentURL; } /** Document URL that `Document` or `FrameOwner` node points to. */ public void setDocumentURL(String documentURL) { this.documentURL = documentURL; } /** Base URL that `Document` or `FrameOwner` node uses for URL completion. */ public String getBaseURL() { return baseURL; } /** Base URL that `Document` or `FrameOwner` node uses for URL completion. */ public void setBaseURL(String baseURL) { this.baseURL = baseURL; } /** Only set for documents, contains the document's content language. */ public String getContentLanguage() { return contentLanguage; } /** Only set for documents, contains the document's content language. */ public void setContentLanguage(String contentLanguage) { this.contentLanguage = contentLanguage; } /** Only set for documents, contains the document's character set encoding. */ public String getDocumentEncoding() { return documentEncoding; } /** Only set for documents, contains the document's character set encoding. */ public void setDocumentEncoding(String documentEncoding) { this.documentEncoding = documentEncoding; } /** `DocumentType` node's publicId. */ public String getPublicId() { return publicId; } /** `DocumentType` node's publicId. */ public void setPublicId(String publicId) { this.publicId = publicId; } /** `DocumentType` node's systemId. */ public String getSystemId() { return systemId; } /** `DocumentType` node's systemId. */ public void setSystemId(String systemId) { this.systemId = systemId; } /** Frame ID for frame owner elements and also for the document node. */ public String getFrameId() { return frameId; } /** Frame ID for frame owner elements and also for the document node. */ public void setFrameId(String frameId) { this.frameId = frameId; } /** * The index of a frame owner element's content document in the `domNodes` array returned by * `getSnapshot`, if any. */ public Integer getContentDocumentIndex() { return contentDocumentIndex; } /** * The index of a frame owner element's content document in the `domNodes` array returned by * `getSnapshot`, if any. */ public void setContentDocumentIndex(Integer contentDocumentIndex) { this.contentDocumentIndex = contentDocumentIndex; } /** Type of a pseudo element node. */ public PseudoType getPseudoType() { return pseudoType; } /** Type of a pseudo element node. */ public void setPseudoType(PseudoType pseudoType) { this.pseudoType = pseudoType; } /** Shadow root type. */ public ShadowRootType getShadowRootType() { return shadowRootType; } /** Shadow root type. */ public void setShadowRootType(ShadowRootType shadowRootType) { this.shadowRootType = shadowRootType; } /** * Whether this DOM node responds to mouse clicks. This includes nodes that have had click event * listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked. */ public Boolean getIsClickable() { return isClickable; } /** * Whether this DOM node responds to mouse clicks. This includes nodes that have had click event * listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked. */ public void setIsClickable(Boolean isClickable) { this.isClickable = isClickable; } /** Details of the node's event listeners, if any. */ public List<EventListener> getEventListeners() { return eventListeners; } /** Details of the node's event listeners, if any. */ public void setEventListeners(List<EventListener> eventListeners) { this.eventListeners = eventListeners; } /** The selected url for nodes with a srcset attribute. */ public String getCurrentSourceURL() { return currentSourceURL; } /** The selected url for nodes with a srcset attribute. */ public void setCurrentSourceURL(String currentSourceURL) { this.currentSourceURL = currentSourceURL; } /** The url of the script (if any) that generates this node. */ public String getOriginURL() { return originURL; } /** The url of the script (if any) that generates this node. */ public void setOriginURL(String originURL) { this.originURL = originURL; } /** Scroll offsets, set when this node is a Document. */ public Double getScrollOffsetX() { return scrollOffsetX; } /** Scroll offsets, set when this node is a Document. */ public void setScrollOffsetX(Double scrollOffsetX) { this.scrollOffsetX = scrollOffsetX; } public Double getScrollOffsetY() { return scrollOffsetY; } public void setScrollOffsetY(Double scrollOffsetY) { this.scrollOffsetY = scrollOffsetY; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/DocumentSnapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Document snapshot. */ public class DocumentSnapshot { private Integer documentURL; private Integer title; private Integer baseURL; private Integer contentLanguage; private Integer encodingName; private Integer publicId; private Integer systemId; private Integer frameId; private NodeTreeSnapshot nodes; private LayoutTreeSnapshot layout; private TextBoxSnapshot textBoxes; @Optional private Double scrollOffsetX; @Optional private Double scrollOffsetY; @Optional private Double contentWidth; @Optional private Double contentHeight; /** Document URL that `Document` or `FrameOwner` node points to. */ public Integer getDocumentURL() { return documentURL; } /** Document URL that `Document` or `FrameOwner` node points to. */ public void setDocumentURL(Integer documentURL) { this.documentURL = documentURL; } /** Document title. */ public Integer getTitle() { return title; } /** Document title. */ public void setTitle(Integer title) { this.title = title; } /** Base URL that `Document` or `FrameOwner` node uses for URL completion. */ public Integer getBaseURL() { return baseURL; } /** Base URL that `Document` or `FrameOwner` node uses for URL completion. */ public void setBaseURL(Integer baseURL) { this.baseURL = baseURL; } /** Contains the document's content language. */ public Integer getContentLanguage() { return contentLanguage; } /** Contains the document's content language. */ public void setContentLanguage(Integer contentLanguage) { this.contentLanguage = contentLanguage; } /** Contains the document's character set encoding. */ public Integer getEncodingName() { return encodingName; } /** Contains the document's character set encoding. */ public void setEncodingName(Integer encodingName) { this.encodingName = encodingName; } /** `DocumentType` node's publicId. */ public Integer getPublicId() { return publicId; } /** `DocumentType` node's publicId. */ public void setPublicId(Integer publicId) { this.publicId = publicId; } /** `DocumentType` node's systemId. */ public Integer getSystemId() { return systemId; } /** `DocumentType` node's systemId. */ public void setSystemId(Integer systemId) { this.systemId = systemId; } /** Frame ID for frame owner elements and also for the document node. */ public Integer getFrameId() { return frameId; } /** Frame ID for frame owner elements and also for the document node. */ public void setFrameId(Integer frameId) { this.frameId = frameId; } /** A table with dom nodes. */ public NodeTreeSnapshot getNodes() { return nodes; } /** A table with dom nodes. */ public void setNodes(NodeTreeSnapshot nodes) { this.nodes = nodes; } /** The nodes in the layout tree. */ public LayoutTreeSnapshot getLayout() { return layout; } /** The nodes in the layout tree. */ public void setLayout(LayoutTreeSnapshot layout) { this.layout = layout; } /** The post-layout inline text nodes. */ public TextBoxSnapshot getTextBoxes() { return textBoxes; } /** The post-layout inline text nodes. */ public void setTextBoxes(TextBoxSnapshot textBoxes) { this.textBoxes = textBoxes; } /** Horizontal scroll offset. */ public Double getScrollOffsetX() { return scrollOffsetX; } /** Horizontal scroll offset. */ public void setScrollOffsetX(Double scrollOffsetX) { this.scrollOffsetX = scrollOffsetX; } /** Vertical scroll offset. */ public Double getScrollOffsetY() { return scrollOffsetY; } /** Vertical scroll offset. */ public void setScrollOffsetY(Double scrollOffsetY) { this.scrollOffsetY = scrollOffsetY; } /** Document content width. */ public Double getContentWidth() { return contentWidth; } /** Document content width. */ public void setContentWidth(Double contentWidth) { this.contentWidth = contentWidth; } /** Document content height. */ public Double getContentHeight() { return contentHeight; } /** Document content height. */ public void setContentHeight(Double contentHeight) { this.contentHeight = contentHeight; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/InlineTextBox.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; /** * Details of post layout rendered text positions. The exact layout should not be regarded as stable * and may change between versions. */ public class InlineTextBox { private Rect boundingBox; private Integer startCharacterIndex; private Integer numCharacters; /** * The bounding box in document coordinates. Note that scroll offset of the document is ignored. */ public Rect getBoundingBox() { return boundingBox; } /** * The bounding box in document coordinates. Note that scroll offset of the document is ignored. */ public void setBoundingBox(Rect boundingBox) { this.boundingBox = boundingBox; } /** * The starting index in characters, for this post layout textbox substring. Characters that would * be represented as a surrogate pair in UTF-16 have length 2. */ public Integer getStartCharacterIndex() { return startCharacterIndex; } /** * The starting index in characters, for this post layout textbox substring. Characters that would * be represented as a surrogate pair in UTF-16 have length 2. */ public void setStartCharacterIndex(Integer startCharacterIndex) { this.startCharacterIndex = startCharacterIndex; } /** * The number of characters in this post layout textbox substring. Characters that would be * represented as a surrogate pair in UTF-16 have length 2. */ public Integer getNumCharacters() { return numCharacters; } /** * The number of characters in this post layout textbox substring. Characters that would be * represented as a surrogate pair in UTF-16 have length 2. */ public void setNumCharacters(Integer numCharacters) { this.numCharacters = numCharacters; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/LayoutTreeNode.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; import java.util.List; /** Details of an element in the DOM tree with a LayoutObject. */ public class LayoutTreeNode { private Integer domNodeIndex; private Rect boundingBox; @Optional private String layoutText; @Optional private List<InlineTextBox> inlineTextNodes; @Optional private Integer styleIndex; @Optional private Integer paintOrder; @Optional private Boolean isStackingContext; /** The index of the related DOM node in the `domNodes` array returned by `getSnapshot`. */ public Integer getDomNodeIndex() { return domNodeIndex; } /** The index of the related DOM node in the `domNodes` array returned by `getSnapshot`. */ public void setDomNodeIndex(Integer domNodeIndex) { this.domNodeIndex = domNodeIndex; } /** * The bounding box in document coordinates. Note that scroll offset of the document is ignored. */ public Rect getBoundingBox() { return boundingBox; } /** * The bounding box in document coordinates. Note that scroll offset of the document is ignored. */ public void setBoundingBox(Rect boundingBox) { this.boundingBox = boundingBox; } /** Contents of the LayoutText, if any. */ public String getLayoutText() { return layoutText; } /** Contents of the LayoutText, if any. */ public void setLayoutText(String layoutText) { this.layoutText = layoutText; } /** The post-layout inline text nodes, if any. */ public List<InlineTextBox> getInlineTextNodes() { return inlineTextNodes; } /** The post-layout inline text nodes, if any. */ public void setInlineTextNodes(List<InlineTextBox> inlineTextNodes) { this.inlineTextNodes = inlineTextNodes; } /** Index into the `computedStyles` array returned by `getSnapshot`. */ public Integer getStyleIndex() { return styleIndex; } /** Index into the `computedStyles` array returned by `getSnapshot`. */ public void setStyleIndex(Integer styleIndex) { this.styleIndex = styleIndex; } /** * Global paint order index, which is determined by the stacking order of the nodes. Nodes that * are painted together will have the same index. Only provided if includePaintOrder in * getSnapshot was true. */ public Integer getPaintOrder() { return paintOrder; } /** * Global paint order index, which is determined by the stacking order of the nodes. Nodes that * are painted together will have the same index. Only provided if includePaintOrder in * getSnapshot was true. */ public void setPaintOrder(Integer paintOrder) { this.paintOrder = paintOrder; } /** Set to true to indicate the element begins a new stacking context. */ public Boolean getIsStackingContext() { return isStackingContext; } /** Set to true to indicate the element begins a new stacking context. */ public void setIsStackingContext(Boolean isStackingContext) { this.isStackingContext = isStackingContext; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/LayoutTreeSnapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Table of details of an element in the DOM tree with a LayoutObject. */ public class LayoutTreeSnapshot { private List<Integer> nodeIndex; private List<List<Integer>> styles; private List<List<Double>> bounds; private List<Integer> text; private RareBooleanData stackingContexts; @Optional private List<Integer> paintOrders; @Optional private List<List<Double>> offsetRects; @Optional private List<List<Double>> scrollRects; @Optional private List<List<Double>> clientRects; @Experimental @Optional private List<Integer> blendedBackgroundColors; @Experimental @Optional private List<Double> textColorOpacities; /** * Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`. */ public List<Integer> getNodeIndex() { return nodeIndex; } /** * Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`. */ public void setNodeIndex(List<Integer> nodeIndex) { this.nodeIndex = nodeIndex; } /** * Array of indexes specifying computed style strings, filtered according to the `computedStyles` * parameter passed to `captureSnapshot`. */ public List<List<Integer>> getStyles() { return styles; } /** * Array of indexes specifying computed style strings, filtered according to the `computedStyles` * parameter passed to `captureSnapshot`. */ public void setStyles(List<List<Integer>> styles) { this.styles = styles; } /** The absolute position bounding box. */ public List<List<Double>> getBounds() { return bounds; } /** The absolute position bounding box. */ public void setBounds(List<List<Double>> bounds) { this.bounds = bounds; } /** Contents of the LayoutText, if any. */ public List<Integer> getText() { return text; } /** Contents of the LayoutText, if any. */ public void setText(List<Integer> text) { this.text = text; } /** Stacking context information. */ public RareBooleanData getStackingContexts() { return stackingContexts; } /** Stacking context information. */ public void setStackingContexts(RareBooleanData stackingContexts) { this.stackingContexts = stackingContexts; } /** * Global paint order index, which is determined by the stacking order of the nodes. Nodes that * are painted together will have the same index. Only provided if includePaintOrder in * captureSnapshot was true. */ public List<Integer> getPaintOrders() { return paintOrders; } /** * Global paint order index, which is determined by the stacking order of the nodes. Nodes that * are painted together will have the same index. Only provided if includePaintOrder in * captureSnapshot was true. */ public void setPaintOrders(List<Integer> paintOrders) { this.paintOrders = paintOrders; } /** The offset rect of nodes. Only available when includeDOMRects is set to true */ public List<List<Double>> getOffsetRects() { return offsetRects; } /** The offset rect of nodes. Only available when includeDOMRects is set to true */ public void setOffsetRects(List<List<Double>> offsetRects) { this.offsetRects = offsetRects; } /** The scroll rect of nodes. Only available when includeDOMRects is set to true */ public List<List<Double>> getScrollRects() { return scrollRects; } /** The scroll rect of nodes. Only available when includeDOMRects is set to true */ public void setScrollRects(List<List<Double>> scrollRects) { this.scrollRects = scrollRects; } /** The client rect of nodes. Only available when includeDOMRects is set to true */ public List<List<Double>> getClientRects() { return clientRects; } /** The client rect of nodes. Only available when includeDOMRects is set to true */ public void setClientRects(List<List<Double>> clientRects) { this.clientRects = clientRects; } /** The list of background colors that are blended with colors of overlapping elements. */ public List<Integer> getBlendedBackgroundColors() { return blendedBackgroundColors; } /** The list of background colors that are blended with colors of overlapping elements. */ public void setBlendedBackgroundColors(List<Integer> blendedBackgroundColors) { this.blendedBackgroundColors = blendedBackgroundColors; } /** The list of computed text opacities. */ public List<Double> getTextColorOpacities() { return textColorOpacities; } /** The list of computed text opacities. */ public void setTextColorOpacities(List<Double> textColorOpacities) { this.textColorOpacities = textColorOpacities; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/NameValue.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** A name/value pair. */ public class NameValue { private String name; private String value; /** Attribute/property name. */ public String getName() { return name; } /** Attribute/property name. */ public void setName(String name) { this.name = name; } /** Attribute/property value. */ public String getValue() { return value; } /** Attribute/property value. */ public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/NodeTreeSnapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Table containing nodes. */ public class NodeTreeSnapshot { @Optional private List<Integer> parentIndex; @Optional private List<Integer> nodeType; @Optional private RareStringData shadowRootType; @Optional private List<Integer> nodeName; @Optional private List<Integer> nodeValue; @Optional private List<Integer> backendNodeId; @Optional private List<List<Integer>> attributes; @Optional private RareStringData textValue; @Optional private RareStringData inputValue; @Optional private RareBooleanData inputChecked; @Optional private RareBooleanData optionSelected; @Optional private RareIntegerData contentDocumentIndex; @Optional private RareStringData pseudoType; @Optional private RareStringData pseudoIdentifier; @Optional private RareBooleanData isClickable; @Optional private RareStringData currentSourceURL; @Optional private RareStringData originURL; /** Parent node index. */ public List<Integer> getParentIndex() { return parentIndex; } /** Parent node index. */ public void setParentIndex(List<Integer> parentIndex) { this.parentIndex = parentIndex; } /** `Node`'s nodeType. */ public List<Integer> getNodeType() { return nodeType; } /** `Node`'s nodeType. */ public void setNodeType(List<Integer> nodeType) { this.nodeType = nodeType; } /** * Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum. */ public RareStringData getShadowRootType() { return shadowRootType; } /** * Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum. */ public void setShadowRootType(RareStringData shadowRootType) { this.shadowRootType = shadowRootType; } /** `Node`'s nodeName. */ public List<Integer> getNodeName() { return nodeName; } /** `Node`'s nodeName. */ public void setNodeName(List<Integer> nodeName) { this.nodeName = nodeName; } /** `Node`'s nodeValue. */ public List<Integer> getNodeValue() { return nodeValue; } /** `Node`'s nodeValue. */ public void setNodeValue(List<Integer> nodeValue) { this.nodeValue = nodeValue; } /** `Node`'s id, corresponds to DOM.Node.backendNodeId. */ public List<Integer> getBackendNodeId() { return backendNodeId; } /** `Node`'s id, corresponds to DOM.Node.backendNodeId. */ public void setBackendNodeId(List<Integer> backendNodeId) { this.backendNodeId = backendNodeId; } /** Attributes of an `Element` node. Flatten name, value pairs. */ public List<List<Integer>> getAttributes() { return attributes; } /** Attributes of an `Element` node. Flatten name, value pairs. */ public void setAttributes(List<List<Integer>> attributes) { this.attributes = attributes; } /** Only set for textarea elements, contains the text value. */ public RareStringData getTextValue() { return textValue; } /** Only set for textarea elements, contains the text value. */ public void setTextValue(RareStringData textValue) { this.textValue = textValue; } /** Only set for input elements, contains the input's associated text value. */ public RareStringData getInputValue() { return inputValue; } /** Only set for input elements, contains the input's associated text value. */ public void setInputValue(RareStringData inputValue) { this.inputValue = inputValue; } /** Only set for radio and checkbox input elements, indicates if the element has been checked */ public RareBooleanData getInputChecked() { return inputChecked; } /** Only set for radio and checkbox input elements, indicates if the element has been checked */ public void setInputChecked(RareBooleanData inputChecked) { this.inputChecked = inputChecked; } /** Only set for option elements, indicates if the element has been selected */ public RareBooleanData getOptionSelected() { return optionSelected; } /** Only set for option elements, indicates if the element has been selected */ public void setOptionSelected(RareBooleanData optionSelected) { this.optionSelected = optionSelected; } /** The index of the document in the list of the snapshot documents. */ public RareIntegerData getContentDocumentIndex() { return contentDocumentIndex; } /** The index of the document in the list of the snapshot documents. */ public void setContentDocumentIndex(RareIntegerData contentDocumentIndex) { this.contentDocumentIndex = contentDocumentIndex; } /** Type of a pseudo element node. */ public RareStringData getPseudoType() { return pseudoType; } /** Type of a pseudo element node. */ public void setPseudoType(RareStringData pseudoType) { this.pseudoType = pseudoType; } /** Pseudo element identifier for this node. Only present if there is a valid pseudoType. */ public RareStringData getPseudoIdentifier() { return pseudoIdentifier; } /** Pseudo element identifier for this node. Only present if there is a valid pseudoType. */ public void setPseudoIdentifier(RareStringData pseudoIdentifier) { this.pseudoIdentifier = pseudoIdentifier; } /** * Whether this DOM node responds to mouse clicks. This includes nodes that have had click event * listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked. */ public RareBooleanData getIsClickable() { return isClickable; } /** * Whether this DOM node responds to mouse clicks. This includes nodes that have had click event * listeners attached via JavaScript as well as anchor tags that naturally navigate when clicked. */ public void setIsClickable(RareBooleanData isClickable) { this.isClickable = isClickable; } /** The selected url for nodes with a srcset attribute. */ public RareStringData getCurrentSourceURL() { return currentSourceURL; } /** The selected url for nodes with a srcset attribute. */ public void setCurrentSourceURL(RareStringData currentSourceURL) { this.currentSourceURL = currentSourceURL; } /** The url of the script (if any) that generates this node. */ public RareStringData getOriginURL() { return originURL; } /** The url of the script (if any) that generates this node. */ public void setOriginURL(RareStringData originURL) { this.originURL = originURL; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/RareBooleanData.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class RareBooleanData { private List<Integer> index; public List<Integer> getIndex() { return index; } public void setIndex(List<Integer> index) { this.index = index; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/RareIntegerData.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class RareIntegerData { private List<Integer> index; private List<Integer> value; public List<Integer> getIndex() { return index; } public void setIndex(List<Integer> index) { this.index = index; } public List<Integer> getValue() { return value; } public void setValue(List<Integer> value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/RareStringData.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Data that is only present on rare nodes. */ public class RareStringData { private List<Integer> index; private List<Integer> value; public List<Integer> getIndex() { return index; } public void setIndex(List<Integer> index) { this.index = index; } public List<Integer> getValue() { return value; } public void setValue(List<Integer> value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/Snapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class Snapshot { private List<DOMNode> domNodes; private List<LayoutTreeNode> layoutTreeNodes; private List<ComputedStyle> computedStyles; /** The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. */ public List<DOMNode> getDomNodes() { return domNodes; } /** The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document. */ public void setDomNodes(List<DOMNode> domNodes) { this.domNodes = domNodes; } /** The nodes in the layout tree. */ public List<LayoutTreeNode> getLayoutTreeNodes() { return layoutTreeNodes; } /** The nodes in the layout tree. */ public void setLayoutTreeNodes(List<LayoutTreeNode> layoutTreeNodes) { this.layoutTreeNodes = layoutTreeNodes; } /** Whitelisted ComputedStyle properties for each node in the layout tree. */ public List<ComputedStyle> getComputedStyles() { return computedStyles; } /** Whitelisted ComputedStyle properties for each node in the layout tree. */ public void setComputedStyles(List<ComputedStyle> computedStyles) { this.computedStyles = computedStyles; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domsnapshot/TextBoxSnapshot.java
package com.github.kklisura.cdt.protocol.v2023.types.domsnapshot; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** * Table of details of the post layout rendered text positions. The exact layout should not be * regarded as stable and may change between versions. */ public class TextBoxSnapshot { private List<Integer> layoutIndex; private List<List<Double>> bounds; private List<Integer> start; private List<Integer> length; /** Index of the layout tree node that owns this box collection. */ public List<Integer> getLayoutIndex() { return layoutIndex; } /** Index of the layout tree node that owns this box collection. */ public void setLayoutIndex(List<Integer> layoutIndex) { this.layoutIndex = layoutIndex; } /** The absolute position bounding box. */ public List<List<Double>> getBounds() { return bounds; } /** The absolute position bounding box. */ public void setBounds(List<List<Double>> bounds) { this.bounds = bounds; } /** * The starting index in characters, for this post layout textbox substring. Characters that would * be represented as a surrogate pair in UTF-16 have length 2. */ public List<Integer> getStart() { return start; } /** * The starting index in characters, for this post layout textbox substring. Characters that would * be represented as a surrogate pair in UTF-16 have length 2. */ public void setStart(List<Integer> start) { this.start = start; } /** * The number of characters in this post layout textbox substring. Characters that would be * represented as a surrogate pair in UTF-16 have length 2. */ public List<Integer> getLength() { return length; } /** * The number of characters in this post layout textbox substring. Characters that would be * represented as a surrogate pair in UTF-16 have length 2. */ public void setLength(List<Integer> length) { this.length = length; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/domstorage/StorageId.java
package com.github.kklisura.cdt.protocol.v2023.types.domstorage; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** DOM Storage identifier. */ public class StorageId { @Optional private String securityOrigin; @Optional private String storageKey; private Boolean isLocalStorage; /** Security origin for the storage. */ public String getSecurityOrigin() { return securityOrigin; } /** Security origin for the storage. */ public void setSecurityOrigin(String securityOrigin) { this.securityOrigin = securityOrigin; } /** Represents a key by which DOM Storage keys its CachedStorageAreas */ public String getStorageKey() { return storageKey; } /** Represents a key by which DOM Storage keys its CachedStorageAreas */ public void setStorageKey(String storageKey) { this.storageKey = storageKey; } /** Whether the storage is local storage (not session storage). */ public Boolean getIsLocalStorage() { return isLocalStorage; } /** Whether the storage is local storage (not session storage). */ public void setIsLocalStorage(Boolean isLocalStorage) { this.isLocalStorage = isLocalStorage; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/DisabledImageType.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Enum of image types that can be disabled. */ public enum DisabledImageType { @JsonProperty("avif") AVIF, @JsonProperty("webp") WEBP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/DisplayFeature.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class DisplayFeature { private DisplayFeatureOrientation orientation; private Integer offset; private Integer maskLength; /** Orientation of a display feature in relation to screen */ public DisplayFeatureOrientation getOrientation() { return orientation; } /** Orientation of a display feature in relation to screen */ public void setOrientation(DisplayFeatureOrientation orientation) { this.orientation = orientation; } /** * The offset from the screen origin in either the x (for vertical orientation) or y (for * horizontal orientation) direction. */ public Integer getOffset() { return offset; } /** * The offset from the screen origin in either the x (for vertical orientation) or y (for * horizontal orientation) direction. */ public void setOffset(Integer offset) { this.offset = offset; } /** * A display feature may mask content such that it is not physically displayed - this length along * with the offset describes this area. A display feature that only splits content will have a 0 * mask_length. */ public Integer getMaskLength() { return maskLength; } /** * A display feature may mask content such that it is not physically displayed - this length along * with the offset describes this area. A display feature that only splits content will have a 0 * mask_length. */ public void setMaskLength(Integer maskLength) { this.maskLength = maskLength; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/DisplayFeatureOrientation.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Orientation of a display feature in relation to screen */ public enum DisplayFeatureOrientation { @JsonProperty("vertical") VERTICAL, @JsonProperty("horizontal") HORIZONTAL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/MediaFeature.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class MediaFeature { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/ScreenOrientation.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Screen orientation. */ public class ScreenOrientation { private ScreenOrientationType type; private Integer angle; /** Orientation type. */ public ScreenOrientationType getType() { return type; } /** Orientation type. */ public void setType(ScreenOrientationType type) { this.type = type; } /** Orientation angle. */ public Integer getAngle() { return angle; } /** Orientation angle. */ public void setAngle(Integer angle) { this.angle = angle; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/ScreenOrientationType.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Orientation type. */ public enum ScreenOrientationType { @JsonProperty("portraitPrimary") PORTRAIT_PRIMARY, @JsonProperty("portraitSecondary") PORTRAIT_SECONDARY, @JsonProperty("landscapePrimary") LANDSCAPE_PRIMARY, @JsonProperty("landscapeSecondary") LANDSCAPE_SECONDARY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/SetEmitTouchEventsForMouseConfiguration.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Touch/gesture events configuration. Default: current platform. */ public enum SetEmitTouchEventsForMouseConfiguration { @JsonProperty("mobile") MOBILE, @JsonProperty("desktop") DESKTOP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/SetEmulatedVisionDeficiencyType.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Vision deficiency to emulate. Order: best-effort emulations come first, followed by any * physiologically accurate emulations for medically recognized color vision deficiencies. */ public enum SetEmulatedVisionDeficiencyType { @JsonProperty("none") NONE, @JsonProperty("blurredVision") BLURRED_VISION, @JsonProperty("reducedContrast") REDUCED_CONTRAST, @JsonProperty("achromatopsia") ACHROMATOPSIA, @JsonProperty("deuteranopia") DEUTERANOPIA, @JsonProperty("protanopia") PROTANOPIA, @JsonProperty("tritanopia") TRITANOPIA }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/UserAgentBrandVersion.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; /** Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints */ @Experimental public class UserAgentBrandVersion { private String brand; private String version; public String getBrand() { return brand; } public void setBrand(String brand) { this.brand = brand; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/UserAgentMetadata.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** * Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints * Missing optional values will be filled in by the target with what it would normally use. */ @Experimental public class UserAgentMetadata { @Optional private List<UserAgentBrandVersion> brands; @Optional private List<UserAgentBrandVersion> fullVersionList; @Deprecated @Optional private String fullVersion; private String platform; private String platformVersion; private String architecture; private String model; private Boolean mobile; @Optional private String bitness; @Optional private Boolean wow64; /** Brands appearing in Sec-CH-UA. */ public List<UserAgentBrandVersion> getBrands() { return brands; } /** Brands appearing in Sec-CH-UA. */ public void setBrands(List<UserAgentBrandVersion> brands) { this.brands = brands; } /** Brands appearing in Sec-CH-UA-Full-Version-List. */ public List<UserAgentBrandVersion> getFullVersionList() { return fullVersionList; } /** Brands appearing in Sec-CH-UA-Full-Version-List. */ public void setFullVersionList(List<UserAgentBrandVersion> fullVersionList) { this.fullVersionList = fullVersionList; } public String getFullVersion() { return fullVersion; } public void setFullVersion(String fullVersion) { this.fullVersion = fullVersion; } public String getPlatform() { return platform; } public void setPlatform(String platform) { this.platform = platform; } public String getPlatformVersion() { return platformVersion; } public void setPlatformVersion(String platformVersion) { this.platformVersion = platformVersion; } public String getArchitecture() { return architecture; } public void setArchitecture(String architecture) { this.architecture = architecture; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public Boolean getMobile() { return mobile; } public void setMobile(Boolean mobile) { this.mobile = mobile; } public String getBitness() { return bitness; } public void setBitness(String bitness) { this.bitness = bitness; } public Boolean getWow64() { return wow64; } public void setWow64(Boolean wow64) { this.wow64 = wow64; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/emulation/VirtualTimePolicy.java
package com.github.kklisura.cdt.protocol.v2023.types.emulation; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to * allow the next delayed task (if any) to run; pause: The virtual time base may not advance; * pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending * resource fetches. */ public enum VirtualTimePolicy { @JsonProperty("advance") ADVANCE, @JsonProperty("pause") PAUSE, @JsonProperty("pauseIfNetworkFetchesPending") PAUSE_IF_NETWORK_FETCHES_PENDING }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fedcm/Account.java
package com.github.kklisura.cdt.protocol.v2023.types.fedcm; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Corresponds to IdentityRequestAccount */ public class Account { private String accountId; private String email; private String name; private String givenName; private String pictureUrl; private String idpConfigUrl; private String idpSigninUrl; private LoginState loginState; @Optional private String termsOfServiceUrl; @Optional private String privacyPolicyUrl; public String getAccountId() { return accountId; } public void setAccountId(String accountId) { this.accountId = accountId; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getGivenName() { return givenName; } public void setGivenName(String givenName) { this.givenName = givenName; } public String getPictureUrl() { return pictureUrl; } public void setPictureUrl(String pictureUrl) { this.pictureUrl = pictureUrl; } public String getIdpConfigUrl() { return idpConfigUrl; } public void setIdpConfigUrl(String idpConfigUrl) { this.idpConfigUrl = idpConfigUrl; } public String getIdpSigninUrl() { return idpSigninUrl; } public void setIdpSigninUrl(String idpSigninUrl) { this.idpSigninUrl = idpSigninUrl; } public LoginState getLoginState() { return loginState; } public void setLoginState(LoginState loginState) { this.loginState = loginState; } /** These two are only set if the loginState is signUp */ public String getTermsOfServiceUrl() { return termsOfServiceUrl; } /** These two are only set if the loginState is signUp */ public void setTermsOfServiceUrl(String termsOfServiceUrl) { this.termsOfServiceUrl = termsOfServiceUrl; } public String getPrivacyPolicyUrl() { return privacyPolicyUrl; } public void setPrivacyPolicyUrl(String privacyPolicyUrl) { this.privacyPolicyUrl = privacyPolicyUrl; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fedcm/DialogType.java
package com.github.kklisura.cdt.protocol.v2023.types.fedcm; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Whether the dialog shown is an account chooser or an auto re-authentication dialog. */ public enum DialogType { @JsonProperty("AccountChooser") ACCOUNT_CHOOSER, @JsonProperty("AutoReauthn") AUTO_REAUTHN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fedcm/LoginState.java
package com.github.kklisura.cdt.protocol.v2023.types.fedcm; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Whether this is a sign-up or sign-in action for this account, i.e. whether this account has ever * been used to sign in to this RP before. */ public enum LoginState { @JsonProperty("SignIn") SIGN_IN, @JsonProperty("SignUp") SIGN_UP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/AuthChallenge.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Authorization challenge for HTTP status code 401 or 407. */ public class AuthChallenge { @Optional private AuthChallengeSource source; private String origin; private String scheme; private String realm; /** Source of the authentication challenge. */ public AuthChallengeSource getSource() { return source; } /** Source of the authentication challenge. */ public void setSource(AuthChallengeSource source) { this.source = source; } /** Origin of the challenger. */ public String getOrigin() { return origin; } /** Origin of the challenger. */ public void setOrigin(String origin) { this.origin = origin; } /** The authentication scheme used, such as basic or digest */ public String getScheme() { return scheme; } /** The authentication scheme used, such as basic or digest */ public void setScheme(String scheme) { this.scheme = scheme; } /** The realm of the challenge. May be empty. */ public String getRealm() { return realm; } /** The realm of the challenge. May be empty. */ public void setRealm(String realm) { this.realm = realm; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/AuthChallengeResponse.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Response to an AuthChallenge. */ public class AuthChallengeResponse { private AuthChallengeResponseResponse response; @Optional private String username; @Optional private String password; /** * The decision on what to do in response to the authorization challenge. Default means deferring * to the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public AuthChallengeResponseResponse getResponse() { return response; } /** * The decision on what to do in response to the authorization challenge. Default means deferring * to the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public void setResponse(AuthChallengeResponseResponse response) { this.response = response; } /** * The username to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public String getUsername() { return username; } /** * The username to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public void setUsername(String username) { this.username = username; } /** * The password to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public String getPassword() { return password; } /** * The password to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public void setPassword(String password) { this.password = password; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/AuthChallengeResponseResponse.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * The decision on what to do in response to the authorization challenge. Default means deferring to * the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public enum AuthChallengeResponseResponse { @JsonProperty("Default") DEFAULT, @JsonProperty("CancelAuth") CANCEL_AUTH, @JsonProperty("ProvideCredentials") PROVIDE_CREDENTIALS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/AuthChallengeSource.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Source of the authentication challenge. */ public enum AuthChallengeSource { @JsonProperty("Server") SERVER, @JsonProperty("Proxy") PROXY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/HeaderEntry.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Response HTTP header entry */ public class HeaderEntry { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/RequestPattern.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.network.ResourceType; public class RequestPattern { @Optional private String urlPattern; @Optional private ResourceType resourceType; @Optional private RequestStage requestStage; /** * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is * backslash. Omitting is equivalent to `"*"`. */ public String getUrlPattern() { return urlPattern; } /** * Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is * backslash. Omitting is equivalent to `"*"`. */ public void setUrlPattern(String urlPattern) { this.urlPattern = urlPattern; } /** If set, only requests for matching resource types will be intercepted. */ public ResourceType getResourceType() { return resourceType; } /** If set, only requests for matching resource types will be intercepted. */ public void setResourceType(ResourceType resourceType) { this.resourceType = resourceType; } /** Stage at which to begin intercepting requests. Default is Request. */ public RequestStage getRequestStage() { return requestStage; } /** Stage at which to begin intercepting requests. Default is Request. */ public void setRequestStage(RequestStage requestStage) { this.requestStage = requestStage; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/RequestStage.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Stages of the request to handle. Request will intercept before the request is sent. Response will * intercept after the response is received (but before response body is received). */ public enum RequestStage { @JsonProperty("Request") REQUEST, @JsonProperty("Response") RESPONSE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/fetch/ResponseBody.java
package com.github.kklisura.cdt.protocol.v2023.types.fetch; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class ResponseBody { private String body; private Boolean base64Encoded; /** Response body. */ public String getBody() { return body; } /** Response body. */ public void setBody(String body) { this.body = body; } /** True, if content was sent as base64. */ public Boolean getBase64Encoded() { return base64Encoded; } /** True, if content was sent as base64. */ public void setBase64Encoded(Boolean base64Encoded) { this.base64Encoded = base64Encoded; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/headlessexperimental/BeginFrame.java
package com.github.kklisura.cdt.protocol.v2023.types.headlessexperimental; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class BeginFrame { private Boolean hasDamage; @Optional private String screenshotData; /** * Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. * Reported for diagnostic uses, may be removed in the future. */ public Boolean getHasDamage() { return hasDamage; } /** * Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. * Reported for diagnostic uses, may be removed in the future. */ public void setHasDamage(Boolean hasDamage) { this.hasDamage = hasDamage; } /** * Base64-encoded image data of the screenshot, if one was requested and successfully taken. * (Encoded as a base64 string when passed over JSON) */ public String getScreenshotData() { return screenshotData; } /** * Base64-encoded image data of the screenshot, if one was requested and successfully taken. * (Encoded as a base64 string when passed over JSON) */ public void setScreenshotData(String screenshotData) { this.screenshotData = screenshotData; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/headlessexperimental/ScreenshotParams.java
package com.github.kklisura.cdt.protocol.v2023.types.headlessexperimental; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Encoding options for a screenshot. */ public class ScreenshotParams { @Optional private ScreenshotParamsFormat format; @Optional private Integer quality; @Optional private Boolean optimizeForSpeed; /** Image compression format (defaults to png). */ public ScreenshotParamsFormat getFormat() { return format; } /** Image compression format (defaults to png). */ public void setFormat(ScreenshotParamsFormat format) { this.format = format; } /** Compression quality from range [0..100] (jpeg and webp only). */ public Integer getQuality() { return quality; } /** Compression quality from range [0..100] (jpeg and webp only). */ public void setQuality(Integer quality) { this.quality = quality; } /** Optimize image encoding for speed, not for resulting size (defaults to false) */ public Boolean getOptimizeForSpeed() { return optimizeForSpeed; } /** Optimize image encoding for speed, not for resulting size (defaults to false) */ public void setOptimizeForSpeed(Boolean optimizeForSpeed) { this.optimizeForSpeed = optimizeForSpeed; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/headlessexperimental/ScreenshotParamsFormat.java
package com.github.kklisura.cdt.protocol.v2023.types.headlessexperimental; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Image compression format (defaults to png). */ public enum ScreenshotParamsFormat { @JsonProperty("jpeg") JPEG, @JsonProperty("png") PNG, @JsonProperty("webp") WEBP }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/heapprofiler/SamplingHeapProfile.java
package com.github.kklisura.cdt.protocol.v2023.types.heapprofiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Sampling profile. */ public class SamplingHeapProfile { private SamplingHeapProfileNode head; private List<SamplingHeapProfileSample> samples; public SamplingHeapProfileNode getHead() { return head; } public void setHead(SamplingHeapProfileNode head) { this.head = head; } public List<SamplingHeapProfileSample> getSamples() { return samples; } public void setSamples(List<SamplingHeapProfileSample> samples) { this.samples = samples; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/heapprofiler/SamplingHeapProfileNode.java
package com.github.kklisura.cdt.protocol.v2023.types.heapprofiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.runtime.CallFrame; import java.util.List; /** * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. */ public class SamplingHeapProfileNode { private CallFrame callFrame; private Double selfSize; private Integer id; private List<SamplingHeapProfileNode> children; /** Function location. */ public CallFrame getCallFrame() { return callFrame; } /** Function location. */ public void setCallFrame(CallFrame callFrame) { this.callFrame = callFrame; } /** Allocations size in bytes for the node excluding children. */ public Double getSelfSize() { return selfSize; } /** Allocations size in bytes for the node excluding children. */ public void setSelfSize(Double selfSize) { this.selfSize = selfSize; } /** * Node id. Ids are unique across all profiles collected between startSampling and stopSampling. */ public Integer getId() { return id; } /** * Node id. Ids are unique across all profiles collected between startSampling and stopSampling. */ public void setId(Integer id) { this.id = id; } /** Child nodes. */ public List<SamplingHeapProfileNode> getChildren() { return children; } /** Child nodes. */ public void setChildren(List<SamplingHeapProfileNode> children) { this.children = children; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/heapprofiler/SamplingHeapProfileSample.java
package com.github.kklisura.cdt.protocol.v2023.types.heapprofiler; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** A single sample from a sampling profile. */ public class SamplingHeapProfileSample { private Double size; private Integer nodeId; private Double ordinal; /** Allocation size in bytes attributed to the sample. */ public Double getSize() { return size; } /** Allocation size in bytes attributed to the sample. */ public void setSize(Double size) { this.size = size; } /** Id of the corresponding profile tree node. */ public Integer getNodeId() { return nodeId; } /** Id of the corresponding profile tree node. */ public void setNodeId(Integer nodeId) { this.nodeId = nodeId; } /** * Time-ordered sample ordinal number. It is unique across all profiles retrieved between * startSampling and stopSampling. */ public Double getOrdinal() { return ordinal; } /** * Time-ordered sample ordinal number. It is unique across all profiles retrieved between * startSampling and stopSampling. */ public void setOrdinal(Double ordinal) { this.ordinal = ordinal; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/DataEntry.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.runtime.RemoteObject; /** Data entry. */ public class DataEntry { private RemoteObject key; private RemoteObject primaryKey; private RemoteObject value; /** Key object. */ public RemoteObject getKey() { return key; } /** Key object. */ public void setKey(RemoteObject key) { this.key = key; } /** Primary key object. */ public RemoteObject getPrimaryKey() { return primaryKey; } /** Primary key object. */ public void setPrimaryKey(RemoteObject primaryKey) { this.primaryKey = primaryKey; } /** Value object. */ public RemoteObject getValue() { return value; } /** Value object. */ public void setValue(RemoteObject value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/DatabaseWithObjectStores.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Database with an array of object stores. */ public class DatabaseWithObjectStores { private String name; private Double version; private List<ObjectStore> objectStores; /** Database name. */ public String getName() { return name; } /** Database name. */ public void setName(String name) { this.name = name; } /** * Database version (type is not 'integer', as the standard requires the version number to be * 'unsigned long long') */ public Double getVersion() { return version; } /** * Database version (type is not 'integer', as the standard requires the version number to be * 'unsigned long long') */ public void setVersion(Double version) { this.version = version; } /** Object stores in this database. */ public List<ObjectStore> getObjectStores() { return objectStores; } /** Object stores in this database. */ public void setObjectStores(List<ObjectStore> objectStores) { this.objectStores = objectStores; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/Key.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Key. */ public class Key { private KeyType type; @Optional private Double number; @Optional private String string; @Optional private Double date; @Optional private List<Key> array; /** Key type. */ public KeyType getType() { return type; } /** Key type. */ public void setType(KeyType type) { this.type = type; } /** Number value. */ public Double getNumber() { return number; } /** Number value. */ public void setNumber(Double number) { this.number = number; } /** String value. */ public String getString() { return string; } /** String value. */ public void setString(String string) { this.string = string; } /** Date value. */ public Double getDate() { return date; } /** Date value. */ public void setDate(Double date) { this.date = date; } /** Array value. */ public List<Key> getArray() { return array; } /** Array value. */ public void setArray(List<Key> array) { this.array = array; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/KeyPath.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Key path. */ public class KeyPath { private KeyPathType type; @Optional private String string; @Optional private List<String> array; /** Key path type. */ public KeyPathType getType() { return type; } /** Key path type. */ public void setType(KeyPathType type) { this.type = type; } /** String value. */ public String getString() { return string; } /** String value. */ public void setString(String string) { this.string = string; } /** Array value. */ public List<String> getArray() { return array; } /** Array value. */ public void setArray(List<String> array) { this.array = array; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/KeyPathType.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Key path type. */ public enum KeyPathType { @JsonProperty("null") NULL, @JsonProperty("string") STRING, @JsonProperty("array") ARRAY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/KeyRange.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Key range. */ public class KeyRange { @Optional private Key lower; @Optional private Key upper; private Boolean lowerOpen; private Boolean upperOpen; /** Lower bound. */ public Key getLower() { return lower; } /** Lower bound. */ public void setLower(Key lower) { this.lower = lower; } /** Upper bound. */ public Key getUpper() { return upper; } /** Upper bound. */ public void setUpper(Key upper) { this.upper = upper; } /** If true lower bound is open. */ public Boolean getLowerOpen() { return lowerOpen; } /** If true lower bound is open. */ public void setLowerOpen(Boolean lowerOpen) { this.lowerOpen = lowerOpen; } /** If true upper bound is open. */ public Boolean getUpperOpen() { return upperOpen; } /** If true upper bound is open. */ public void setUpperOpen(Boolean upperOpen) { this.upperOpen = upperOpen; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/KeyType.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Key type. */ public enum KeyType { @JsonProperty("number") NUMBER, @JsonProperty("string") STRING, @JsonProperty("date") DATE, @JsonProperty("array") ARRAY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/Metadata.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class Metadata { private Double entriesCount; private Double keyGeneratorValue; /** the entries count */ public Double getEntriesCount() { return entriesCount; } /** the entries count */ public void setEntriesCount(Double entriesCount) { this.entriesCount = entriesCount; } /** * the current value of key generator, to become the next inserted key into the object store. * Valid if objectStore.autoIncrement is true. */ public Double getKeyGeneratorValue() { return keyGeneratorValue; } /** * the current value of key generator, to become the next inserted key into the object store. * Valid if objectStore.autoIncrement is true. */ public void setKeyGeneratorValue(Double keyGeneratorValue) { this.keyGeneratorValue = keyGeneratorValue; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/ObjectStore.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Object store. */ public class ObjectStore { private String name; private KeyPath keyPath; private Boolean autoIncrement; private List<ObjectStoreIndex> indexes; /** Object store name. */ public String getName() { return name; } /** Object store name. */ public void setName(String name) { this.name = name; } /** Object store key path. */ public KeyPath getKeyPath() { return keyPath; } /** Object store key path. */ public void setKeyPath(KeyPath keyPath) { this.keyPath = keyPath; } /** If true, object store has auto increment flag set. */ public Boolean getAutoIncrement() { return autoIncrement; } /** If true, object store has auto increment flag set. */ public void setAutoIncrement(Boolean autoIncrement) { this.autoIncrement = autoIncrement; } /** Indexes in this object store. */ public List<ObjectStoreIndex> getIndexes() { return indexes; } /** Indexes in this object store. */ public void setIndexes(List<ObjectStoreIndex> indexes) { this.indexes = indexes; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/ObjectStoreIndex.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Object store index. */ public class ObjectStoreIndex { private String name; private KeyPath keyPath; private Boolean unique; private Boolean multiEntry; /** Index name. */ public String getName() { return name; } /** Index name. */ public void setName(String name) { this.name = name; } /** Index key path. */ public KeyPath getKeyPath() { return keyPath; } /** Index key path. */ public void setKeyPath(KeyPath keyPath) { this.keyPath = keyPath; } /** If true, index is unique. */ public Boolean getUnique() { return unique; } /** If true, index is unique. */ public void setUnique(Boolean unique) { this.unique = unique; } /** If true, index allows multiple entries for a key. */ public Boolean getMultiEntry() { return multiEntry; } /** If true, index allows multiple entries for a key. */ public void setMultiEntry(Boolean multiEntry) { this.multiEntry = multiEntry; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/indexeddb/RequestData.java
package com.github.kklisura.cdt.protocol.v2023.types.indexeddb; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class RequestData { private List<DataEntry> objectStoreDataEntries; private Boolean hasMore; /** Array of object store data entries. */ public List<DataEntry> getObjectStoreDataEntries() { return objectStoreDataEntries; } /** Array of object store data entries. */ public void setObjectStoreDataEntries(List<DataEntry> objectStoreDataEntries) { this.objectStoreDataEntries = objectStoreDataEntries; } /** If true, there are more entries to fetch in the given range. */ public Boolean getHasMore() { return hasMore; } /** If true, there are more entries to fetch in the given range. */ public void setHasMore(Boolean hasMore) { this.hasMore = hasMore; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DispatchDragEventType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Type of the drag event. */ public enum DispatchDragEventType { @JsonProperty("dragEnter") DRAG_ENTER, @JsonProperty("dragOver") DRAG_OVER, @JsonProperty("drop") DROP, @JsonProperty("dragCancel") DRAG_CANCEL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DispatchKeyEventType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Type of the key event. */ public enum DispatchKeyEventType { @JsonProperty("keyDown") KEY_DOWN, @JsonProperty("keyUp") KEY_UP, @JsonProperty("rawKeyDown") RAW_KEY_DOWN, @JsonProperty("char") CHAR }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DispatchMouseEventPointerType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Pointer type (default: "mouse"). */ public enum DispatchMouseEventPointerType { @JsonProperty("mouse") MOUSE, @JsonProperty("pen") PEN }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DispatchMouseEventType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Type of the mouse event. */ public enum DispatchMouseEventType { @JsonProperty("mousePressed") MOUSE_PRESSED, @JsonProperty("mouseReleased") MOUSE_RELEASED, @JsonProperty("mouseMoved") MOUSE_MOVED, @JsonProperty("mouseWheel") MOUSE_WHEEL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DispatchTouchEventType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while * TouchStart and TouchMove must contains at least one. */ public enum DispatchTouchEventType { @JsonProperty("touchStart") TOUCH_START, @JsonProperty("touchEnd") TOUCH_END, @JsonProperty("touchMove") TOUCH_MOVE, @JsonProperty("touchCancel") TOUCH_CANCEL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DragData.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; @Experimental public class DragData { private List<DragDataItem> items; @Optional private List<String> files; private Integer dragOperationsMask; public List<DragDataItem> getItems() { return items; } public void setItems(List<DragDataItem> items) { this.items = items; } /** List of filenames that should be included when dropping */ public List<String> getFiles() { return files; } /** List of filenames that should be included when dropping */ public void setFiles(List<String> files) { this.files = files; } /** Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16 */ public Integer getDragOperationsMask() { return dragOperationsMask; } /** Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16 */ public void setDragOperationsMask(Integer dragOperationsMask) { this.dragOperationsMask = dragOperationsMask; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/DragDataItem.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; @Experimental public class DragDataItem { private String mimeType; private String data; @Optional private String title; @Optional private String baseURL; /** Mime type of the dragged data. */ public String getMimeType() { return mimeType; } /** Mime type of the dragged data. */ public void setMimeType(String mimeType) { this.mimeType = mimeType; } /** * Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any * other data. */ public String getData() { return data; } /** * Depending of the value of `mimeType`, it contains the dragged link, text, HTML markup or any * other data. */ public void setData(String data) { this.data = data; } /** Title associated with a link. Only valid when `mimeType` == "text/uri-list". */ public String getTitle() { return title; } /** Title associated with a link. Only valid when `mimeType` == "text/uri-list". */ public void setTitle(String title) { this.title = title; } /** Stores the base URL for the contained markup. Only valid when `mimeType` == "text/html". */ public String getBaseURL() { return baseURL; } /** Stores the base URL for the contained markup. Only valid when `mimeType` == "text/html". */ public void setBaseURL(String baseURL) { this.baseURL = baseURL; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/EmulateTouchFromMouseEventType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Type of the mouse event. */ public enum EmulateTouchFromMouseEventType { @JsonProperty("mousePressed") MOUSE_PRESSED, @JsonProperty("mouseReleased") MOUSE_RELEASED, @JsonProperty("mouseMoved") MOUSE_MOVED, @JsonProperty("mouseWheel") MOUSE_WHEEL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/GestureSourceType.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum GestureSourceType { @JsonProperty("default") DEFAULT, @JsonProperty("touch") TOUCH, @JsonProperty("mouse") MOUSE }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/MouseButton.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum MouseButton { @JsonProperty("none") NONE, @JsonProperty("left") LEFT, @JsonProperty("middle") MIDDLE, @JsonProperty("right") RIGHT, @JsonProperty("back") BACK, @JsonProperty("forward") FORWARD }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/input/TouchPoint.java
package com.github.kklisura.cdt.protocol.v2023.types.input; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class TouchPoint { private Double x; private Double y; @Optional private Double radiusX; @Optional private Double radiusY; @Optional private Double rotationAngle; @Optional private Double force; @Experimental @Optional private Double tangentialPressure; @Experimental @Optional private Integer tiltX; @Experimental @Optional private Integer tiltY; @Experimental @Optional private Integer twist; @Optional private Double id; /** X coordinate of the event relative to the main frame's viewport in CSS pixels. */ public Double getX() { return x; } /** X coordinate of the event relative to the main frame's viewport in CSS pixels. */ public void setX(Double x) { this.x = x; } /** * Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the * top of the viewport and Y increases as it proceeds towards the bottom of the viewport. */ public Double getY() { return y; } /** * Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the * top of the viewport and Y increases as it proceeds towards the bottom of the viewport. */ public void setY(Double y) { this.y = y; } /** X radius of the touch area (default: 1.0). */ public Double getRadiusX() { return radiusX; } /** X radius of the touch area (default: 1.0). */ public void setRadiusX(Double radiusX) { this.radiusX = radiusX; } /** Y radius of the touch area (default: 1.0). */ public Double getRadiusY() { return radiusY; } /** Y radius of the touch area (default: 1.0). */ public void setRadiusY(Double radiusY) { this.radiusY = radiusY; } /** Rotation angle (default: 0.0). */ public Double getRotationAngle() { return rotationAngle; } /** Rotation angle (default: 0.0). */ public void setRotationAngle(Double rotationAngle) { this.rotationAngle = rotationAngle; } /** Force (default: 1.0). */ public Double getForce() { return force; } /** Force (default: 1.0). */ public void setForce(Double force) { this.force = force; } /** The normalized tangential pressure, which has a range of [-1,1] (default: 0). */ public Double getTangentialPressure() { return tangentialPressure; } /** The normalized tangential pressure, which has a range of [-1,1] (default: 0). */ public void setTangentialPressure(Double tangentialPressure) { this.tangentialPressure = tangentialPressure; } /** * The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y * axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) */ public Integer getTiltX() { return tiltX; } /** * The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y * axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) */ public void setTiltX(Integer tiltX) { this.tiltX = tiltX; } /** * The plane angle between the X-Z plane and the plane containing both the stylus axis and the X * axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). */ public Integer getTiltY() { return tiltY; } /** * The plane angle between the X-Z plane and the plane containing both the stylus axis and the X * axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). */ public void setTiltY(Integer tiltY) { this.tiltY = tiltY; } /** * The clockwise rotation of a pen stylus around its own major axis, in degrees in the range * [0,359] (default: 0). */ public Integer getTwist() { return twist; } /** * The clockwise rotation of a pen stylus around its own major axis, in degrees in the range * [0,359] (default: 0). */ public void setTwist(Integer twist) { this.twist = twist; } /** Identifier used to track touch sources between events, must be unique within an event. */ public Double getId() { return id; } /** Identifier used to track touch sources between events, must be unique within an event. */ public void setId(Double id) { this.id = id; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/io/Read.java
package com.github.kklisura.cdt.protocol.v2023.types.io; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; public class Read { @Optional private Boolean base64Encoded; private String data; private Boolean eof; /** Set if the data is base64-encoded */ public Boolean getBase64Encoded() { return base64Encoded; } /** Set if the data is base64-encoded */ public void setBase64Encoded(Boolean base64Encoded) { this.base64Encoded = base64Encoded; } /** Data that were read. */ public String getData() { return data; } /** Data that were read. */ public void setData(String data) { this.data = data; } /** Set if the end-of-file condition occurred while reading. */ public Boolean getEof() { return eof; } /** Set if the end-of-file condition occurred while reading. */ public void setEof(Boolean eof) { this.eof = eof; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/CompositingReasons.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; public class CompositingReasons { private List<String> compositingReasons; private List<String> compositingReasonIds; /** A list of strings specifying reasons for the given layer to become composited. */ public List<String> getCompositingReasons() { return compositingReasons; } /** A list of strings specifying reasons for the given layer to become composited. */ public void setCompositingReasons(List<String> compositingReasons) { this.compositingReasons = compositingReasons; } /** A list of strings specifying reason IDs for the given layer to become composited. */ public List<String> getCompositingReasonIds() { return compositingReasonIds; } /** A list of strings specifying reason IDs for the given layer to become composited. */ public void setCompositingReasonIds(List<String> compositingReasonIds) { this.compositingReasonIds = compositingReasonIds; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/Layer.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import java.util.List; /** Information about a compositing layer. */ public class Layer { private String layerId; @Optional private String parentLayerId; @Optional private Integer backendNodeId; private Double offsetX; private Double offsetY; private Double width; private Double height; @Optional private List<Double> transform; @Optional private Double anchorX; @Optional private Double anchorY; @Optional private Double anchorZ; private Integer paintCount; private Boolean drawsContent; @Optional private Boolean invisible; @Optional private List<ScrollRect> scrollRects; @Optional private StickyPositionConstraint stickyPositionConstraint; /** The unique id for this layer. */ public String getLayerId() { return layerId; } /** The unique id for this layer. */ public void setLayerId(String layerId) { this.layerId = layerId; } /** The id of parent (not present for root). */ public String getParentLayerId() { return parentLayerId; } /** The id of parent (not present for root). */ public void setParentLayerId(String parentLayerId) { this.parentLayerId = parentLayerId; } /** The backend id for the node associated with this layer. */ public Integer getBackendNodeId() { return backendNodeId; } /** The backend id for the node associated with this layer. */ public void setBackendNodeId(Integer backendNodeId) { this.backendNodeId = backendNodeId; } /** Offset from parent layer, X coordinate. */ public Double getOffsetX() { return offsetX; } /** Offset from parent layer, X coordinate. */ public void setOffsetX(Double offsetX) { this.offsetX = offsetX; } /** Offset from parent layer, Y coordinate. */ public Double getOffsetY() { return offsetY; } /** Offset from parent layer, Y coordinate. */ public void setOffsetY(Double offsetY) { this.offsetY = offsetY; } /** Layer width. */ public Double getWidth() { return width; } /** Layer width. */ public void setWidth(Double width) { this.width = width; } /** Layer height. */ public Double getHeight() { return height; } /** Layer height. */ public void setHeight(Double height) { this.height = height; } /** Transformation matrix for layer, default is identity matrix */ public List<Double> getTransform() { return transform; } /** Transformation matrix for layer, default is identity matrix */ public void setTransform(List<Double> transform) { this.transform = transform; } /** Transform anchor point X, absent if no transform specified */ public Double getAnchorX() { return anchorX; } /** Transform anchor point X, absent if no transform specified */ public void setAnchorX(Double anchorX) { this.anchorX = anchorX; } /** Transform anchor point Y, absent if no transform specified */ public Double getAnchorY() { return anchorY; } /** Transform anchor point Y, absent if no transform specified */ public void setAnchorY(Double anchorY) { this.anchorY = anchorY; } /** Transform anchor point Z, absent if no transform specified */ public Double getAnchorZ() { return anchorZ; } /** Transform anchor point Z, absent if no transform specified */ public void setAnchorZ(Double anchorZ) { this.anchorZ = anchorZ; } /** Indicates how many time this layer has painted. */ public Integer getPaintCount() { return paintCount; } /** Indicates how many time this layer has painted. */ public void setPaintCount(Integer paintCount) { this.paintCount = paintCount; } /** * Indicates whether this layer hosts any content, rather than being used for transform/scrolling * purposes only. */ public Boolean getDrawsContent() { return drawsContent; } /** * Indicates whether this layer hosts any content, rather than being used for transform/scrolling * purposes only. */ public void setDrawsContent(Boolean drawsContent) { this.drawsContent = drawsContent; } /** Set if layer is not visible. */ public Boolean getInvisible() { return invisible; } /** Set if layer is not visible. */ public void setInvisible(Boolean invisible) { this.invisible = invisible; } /** Rectangles scrolling on main thread only. */ public List<ScrollRect> getScrollRects() { return scrollRects; } /** Rectangles scrolling on main thread only. */ public void setScrollRects(List<ScrollRect> scrollRects) { this.scrollRects = scrollRects; } /** Sticky position constraint information */ public StickyPositionConstraint getStickyPositionConstraint() { return stickyPositionConstraint; } /** Sticky position constraint information */ public void setStickyPositionConstraint(StickyPositionConstraint stickyPositionConstraint) { this.stickyPositionConstraint = stickyPositionConstraint; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/PictureTile.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Serialized fragment of layer picture along with its offset within the layer. */ public class PictureTile { private Double x; private Double y; private String picture; /** Offset from owning layer left boundary */ public Double getX() { return x; } /** Offset from owning layer left boundary */ public void setX(Double x) { this.x = x; } /** Offset from owning layer top boundary */ public Double getY() { return y; } /** Offset from owning layer top boundary */ public void setY(Double y) { this.y = y; } /** Base64-encoded snapshot data. (Encoded as a base64 string when passed over JSON) */ public String getPicture() { return picture; } /** Base64-encoded snapshot data. (Encoded as a base64 string when passed over JSON) */ public void setPicture(String picture) { this.picture = picture; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/ScrollRect.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; /** Rectangle where scrolling happens on the main thread. */ public class ScrollRect { private Rect rect; private ScrollRectType type; /** Rectangle itself. */ public Rect getRect() { return rect; } /** Rectangle itself. */ public void setRect(Rect rect) { this.rect = rect; } /** Reason for rectangle to force scrolling on the main thread */ public ScrollRectType getType() { return type; } /** Reason for rectangle to force scrolling on the main thread */ public void setType(ScrollRectType type) { this.type = type; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/ScrollRectType.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Reason for rectangle to force scrolling on the main thread */ public enum ScrollRectType { @JsonProperty("RepaintsOnScroll") REPAINTS_ON_SCROLL, @JsonProperty("TouchEventHandler") TOUCH_EVENT_HANDLER, @JsonProperty("WheelEventHandler") WHEEL_EVENT_HANDLER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/layertree/StickyPositionConstraint.java
package com.github.kklisura.cdt.protocol.v2023.types.layertree; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.dom.Rect; /** Sticky position constraints. */ public class StickyPositionConstraint { private Rect stickyBoxRect; private Rect containingBlockRect; @Optional private String nearestLayerShiftingStickyBox; @Optional private String nearestLayerShiftingContainingBlock; /** Layout rectangle of the sticky element before being shifted */ public Rect getStickyBoxRect() { return stickyBoxRect; } /** Layout rectangle of the sticky element before being shifted */ public void setStickyBoxRect(Rect stickyBoxRect) { this.stickyBoxRect = stickyBoxRect; } /** Layout rectangle of the containing block of the sticky element */ public Rect getContainingBlockRect() { return containingBlockRect; } /** Layout rectangle of the containing block of the sticky element */ public void setContainingBlockRect(Rect containingBlockRect) { this.containingBlockRect = containingBlockRect; } /** The nearest sticky layer that shifts the sticky box */ public String getNearestLayerShiftingStickyBox() { return nearestLayerShiftingStickyBox; } /** The nearest sticky layer that shifts the sticky box */ public void setNearestLayerShiftingStickyBox(String nearestLayerShiftingStickyBox) { this.nearestLayerShiftingStickyBox = nearestLayerShiftingStickyBox; } /** The nearest sticky layer that shifts the containing block */ public String getNearestLayerShiftingContainingBlock() { return nearestLayerShiftingContainingBlock; } /** The nearest sticky layer that shifts the containing block */ public void setNearestLayerShiftingContainingBlock(String nearestLayerShiftingContainingBlock) { this.nearestLayerShiftingContainingBlock = nearestLayerShiftingContainingBlock; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/LogEntry.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; import com.github.kklisura.cdt.protocol.v2023.types.runtime.RemoteObject; import com.github.kklisura.cdt.protocol.v2023.types.runtime.StackTrace; import java.util.List; /** Log entry. */ public class LogEntry { private LogEntrySource source; private LogEntryLevel level; private String text; @Optional private LogEntryCategory category; private Double timestamp; @Optional private String url; @Optional private Integer lineNumber; @Optional private StackTrace stackTrace; @Optional private String networkRequestId; @Optional private String workerId; @Optional private List<RemoteObject> args; /** Log entry source. */ public LogEntrySource getSource() { return source; } /** Log entry source. */ public void setSource(LogEntrySource source) { this.source = source; } /** Log entry severity. */ public LogEntryLevel getLevel() { return level; } /** Log entry severity. */ public void setLevel(LogEntryLevel level) { this.level = level; } /** Logged text. */ public String getText() { return text; } /** Logged text. */ public void setText(String text) { this.text = text; } public LogEntryCategory getCategory() { return category; } public void setCategory(LogEntryCategory category) { this.category = category; } /** Timestamp when this entry was added. */ public Double getTimestamp() { return timestamp; } /** Timestamp when this entry was added. */ public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } /** URL of the resource if known. */ public String getUrl() { return url; } /** URL of the resource if known. */ public void setUrl(String url) { this.url = url; } /** Line number in the resource. */ public Integer getLineNumber() { return lineNumber; } /** Line number in the resource. */ public void setLineNumber(Integer lineNumber) { this.lineNumber = lineNumber; } /** JavaScript stack trace. */ public StackTrace getStackTrace() { return stackTrace; } /** JavaScript stack trace. */ public void setStackTrace(StackTrace stackTrace) { this.stackTrace = stackTrace; } /** Identifier of the network request associated with this entry. */ public String getNetworkRequestId() { return networkRequestId; } /** Identifier of the network request associated with this entry. */ public void setNetworkRequestId(String networkRequestId) { this.networkRequestId = networkRequestId; } /** Identifier of the worker associated with this entry. */ public String getWorkerId() { return workerId; } /** Identifier of the worker associated with this entry. */ public void setWorkerId(String workerId) { this.workerId = workerId; } /** Call arguments. */ public List<RemoteObject> getArgs() { return args; } /** Call arguments. */ public void setArgs(List<RemoteObject> args) { this.args = args; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/LogEntryCategory.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; public enum LogEntryCategory { @JsonProperty("cors") CORS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/LogEntryLevel.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Log entry severity. */ public enum LogEntryLevel { @JsonProperty("verbose") VERBOSE, @JsonProperty("info") INFO, @JsonProperty("warning") WARNING, @JsonProperty("error") ERROR }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/LogEntrySource.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Log entry source. */ public enum LogEntrySource { @JsonProperty("xml") XML, @JsonProperty("javascript") JAVASCRIPT, @JsonProperty("network") NETWORK, @JsonProperty("storage") STORAGE, @JsonProperty("appcache") APPCACHE, @JsonProperty("rendering") RENDERING, @JsonProperty("security") SECURITY, @JsonProperty("deprecation") DEPRECATION, @JsonProperty("worker") WORKER, @JsonProperty("violation") VIOLATION, @JsonProperty("intervention") INTERVENTION, @JsonProperty("recommendation") RECOMMENDATION, @JsonProperty("other") OTHER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/ViolationSetting.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Violation configuration setting. */ public class ViolationSetting { private ViolationSettingName name; private Double threshold; /** Violation type. */ public ViolationSettingName getName() { return name; } /** Violation type. */ public void setName(ViolationSettingName name) { this.name = name; } /** Time threshold to trigger upon. */ public Double getThreshold() { return threshold; } /** Time threshold to trigger upon. */ public void setThreshold(Double threshold) { this.threshold = threshold; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/log/ViolationSettingName.java
package com.github.kklisura.cdt.protocol.v2023.types.log; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Violation type. */ public enum ViolationSettingName { @JsonProperty("longTask") LONG_TASK, @JsonProperty("longLayout") LONG_LAYOUT, @JsonProperty("blockedEvent") BLOCKED_EVENT, @JsonProperty("blockedParser") BLOCKED_PARSER, @JsonProperty("discouragedAPIUse") DISCOURAGED_API_USE, @JsonProperty("handler") HANDLER, @JsonProperty("recurringHandler") RECURRING_HANDLER }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerError.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; import java.util.Map; /** Corresponds to kMediaError */ public class PlayerError { private String errorType; private Integer code; private List<PlayerErrorSourceLocation> stack; private List<PlayerError> cause; private Map<String, Object> data; public String getErrorType() { return errorType; } public void setErrorType(String errorType) { this.errorType = errorType; } /** * Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes * in media/base/pipeline_status.h */ public Integer getCode() { return code; } /** * Code is the numeric enum entry for a specific set of error codes, such as PipelineStatusCodes * in media/base/pipeline_status.h */ public void setCode(Integer code) { this.code = code; } /** A trace of where this error was caused / where it passed through. */ public List<PlayerErrorSourceLocation> getStack() { return stack; } /** A trace of where this error was caused / where it passed through. */ public void setStack(List<PlayerErrorSourceLocation> stack) { this.stack = stack; } /** * Errors potentially have a root cause error, ie, a DecoderError might be caused by an * WindowsError */ public List<PlayerError> getCause() { return cause; } /** * Errors potentially have a root cause error, ie, a DecoderError might be caused by an * WindowsError */ public void setCause(List<PlayerError> cause) { this.cause = cause; } /** Extra data attached to an error, such as an HRESULT, Video Codec, etc. */ public Map<String, Object> getData() { return data; } /** Extra data attached to an error, such as an HRESULT, Video Codec, etc. */ public void setData(Map<String, Object> data) { this.data = data; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerErrorSourceLocation.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** * Represents logged source line numbers reported in an error. NOTE: file and line are from chromium * c++ implementation code, not js. */ public class PlayerErrorSourceLocation { private String file; private Integer line; public String getFile() { return file; } public void setFile(String file) { this.file = file; } public Integer getLine() { return line; } public void setLine(Integer line) { this.line = line; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerEvent.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Corresponds to kMediaEventTriggered */ public class PlayerEvent { private Double timestamp; private String value; public Double getTimestamp() { return timestamp; } public void setTimestamp(Double timestamp) { this.timestamp = timestamp; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerMessage.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Have one type per entry in MediaLogRecord::Type Corresponds to kMessage */ public class PlayerMessage { private PlayerMessageLevel level; private String message; /** * Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' * separate from the PlayerError type because right now they represent different things, this one * being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in * the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're * going to be moving away from using PipelineStatus for errors and introducing a new error type * which should hopefully let us integrate the error log level into the PlayerError type. */ public PlayerMessageLevel getLevel() { return level; } /** * Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' * separate from the PlayerError type because right now they represent different things, this one * being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in * the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're * going to be moving away from using PipelineStatus for errors and introducing a new error type * which should hopefully let us integrate the error log level into the PlayerError type. */ public void setLevel(PlayerMessageLevel level) { this.level = level; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerMessageLevel.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' * separate from the PlayerError type because right now they represent different things, this one * being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in * the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're * going to be moving away from using PipelineStatus for errors and introducing a new error type * which should hopefully let us integrate the error log level into the PlayerError type. */ public enum PlayerMessageLevel { @JsonProperty("error") ERROR, @JsonProperty("warning") WARNING, @JsonProperty("info") INFO, @JsonProperty("debug") DEBUG }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/media/PlayerProperty.java
package com.github.kklisura.cdt.protocol.v2023.types.media; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Corresponds to kMediaPropertyChange */ public class PlayerProperty { private String name; private String value; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/memory/DOMCounters.java
package com.github.kklisura.cdt.protocol.v2023.types.memory; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class DOMCounters { private Integer documents; private Integer nodes; private Integer jsEventListeners; public Integer getDocuments() { return documents; } public void setDocuments(Integer documents) { this.documents = documents; } public Integer getNodes() { return nodes; } public void setNodes(Integer nodes) { this.nodes = nodes; } public Integer getJsEventListeners() { return jsEventListeners; } public void setJsEventListeners(Integer jsEventListeners) { this.jsEventListeners = jsEventListeners; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/memory/Module.java
package com.github.kklisura.cdt.protocol.v2023.types.memory; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ /** Executable module information */ public class Module { private String name; private String uuid; private String baseAddress; private Double size; /** Name of the module. */ public String getName() { return name; } /** Name of the module. */ public void setName(String name) { this.name = name; } /** UUID of the module. */ public String getUuid() { return uuid; } /** UUID of the module. */ public void setUuid(String uuid) { this.uuid = uuid; } /** * Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x * prefixed) string. */ public String getBaseAddress() { return baseAddress; } /** * Base address where the module is loaded into memory. Encoded as a decimal or hexadecimal (0x * prefixed) string. */ public void setBaseAddress(String baseAddress) { this.baseAddress = baseAddress; } /** Size of the module in bytes. */ public Double getSize() { return size; } /** Size of the module in bytes. */ public void setSize(Double size) { this.size = size; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/memory/PressureLevel.java
package com.github.kklisura.cdt.protocol.v2023.types.memory; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Memory pressure level. */ public enum PressureLevel { @JsonProperty("moderate") MODERATE, @JsonProperty("critical") CRITICAL }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/memory/SamplingProfile.java
package com.github.kklisura.cdt.protocol.v2023.types.memory; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Array of heap profile samples. */ public class SamplingProfile { private List<SamplingProfileNode> samples; private List<Module> modules; public List<SamplingProfileNode> getSamples() { return samples; } public void setSamples(List<SamplingProfileNode> samples) { this.samples = samples; } public List<Module> getModules() { return modules; } public void setModules(List<Module> modules) { this.modules = modules; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/memory/SamplingProfileNode.java
package com.github.kklisura.cdt.protocol.v2023.types.memory; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import java.util.List; /** Heap profile sample. */ public class SamplingProfileNode { private Double size; private Double total; private List<String> stack; /** Size of the sampled allocation. */ public Double getSize() { return size; } /** Size of the sampled allocation. */ public void setSize(Double size) { this.size = size; } /** Total bytes attributed to this sample. */ public Double getTotal() { return total; } /** Total bytes attributed to this sample. */ public void setTotal(Double total) { this.total = total; } /** Execution stack at the point of allocation. */ public List<String> getStack() { return stack; } /** Execution stack at the point of allocation. */ public void setStack(List<String> stack) { this.stack = stack; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/AlternateProtocolUsage.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The reason why Chrome uses a specific transport protocol for HTTP semantics. */ public enum AlternateProtocolUsage { @JsonProperty("alternativeJobWonWithoutRace") ALTERNATIVE_JOB_WON_WITHOUT_RACE, @JsonProperty("alternativeJobWonRace") ALTERNATIVE_JOB_WON_RACE, @JsonProperty("mainJobWonRace") MAIN_JOB_WON_RACE, @JsonProperty("mappingMissing") MAPPING_MISSING, @JsonProperty("broken") BROKEN, @JsonProperty("dnsAlpnH3JobWonWithoutRace") DNS_ALPN_H_3JOB_WON_WITHOUT_RACE, @JsonProperty("dnsAlpnH3JobWonRace") DNS_ALPN_H_3JOB_WON_RACE, @JsonProperty("unspecifiedReason") UNSPECIFIED_REASON }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/AuthChallenge.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Authorization challenge for HTTP status code 401 or 407. */ @Experimental public class AuthChallenge { @Optional private AuthChallengeSource source; private String origin; private String scheme; private String realm; /** Source of the authentication challenge. */ public AuthChallengeSource getSource() { return source; } /** Source of the authentication challenge. */ public void setSource(AuthChallengeSource source) { this.source = source; } /** Origin of the challenger. */ public String getOrigin() { return origin; } /** Origin of the challenger. */ public void setOrigin(String origin) { this.origin = origin; } /** The authentication scheme used, such as basic or digest */ public String getScheme() { return scheme; } /** The authentication scheme used, such as basic or digest */ public void setScheme(String scheme) { this.scheme = scheme; } /** The realm of the challenge. May be empty. */ public String getRealm() { return realm; } /** The realm of the challenge. May be empty. */ public void setRealm(String realm) { this.realm = realm; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/AuthChallengeResponse.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import com.github.kklisura.cdt.protocol.v2023.support.annotations.Optional; /** Response to an AuthChallenge. */ @Experimental public class AuthChallengeResponse { private AuthChallengeResponseResponse response; @Optional private String username; @Optional private String password; /** * The decision on what to do in response to the authorization challenge. Default means deferring * to the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public AuthChallengeResponseResponse getResponse() { return response; } /** * The decision on what to do in response to the authorization challenge. Default means deferring * to the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public void setResponse(AuthChallengeResponseResponse response) { this.response = response; } /** * The username to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public String getUsername() { return username; } /** * The username to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public void setUsername(String username) { this.username = username; } /** * The password to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public String getPassword() { return password; } /** * The password to provide, possibly empty. Should only be set if response is ProvideCredentials. */ public void setPassword(String password) { this.password = password; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/AuthChallengeResponseResponse.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** * The decision on what to do in response to the authorization challenge. Default means deferring to * the default behavior of the net stack, which will likely either the Cancel authentication or * display a popup dialog box. */ public enum AuthChallengeResponseResponse { @JsonProperty("Default") DEFAULT, @JsonProperty("CancelAuth") CANCEL_AUTH, @JsonProperty("ProvideCredentials") PROVIDE_CREDENTIALS }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/AuthChallengeSource.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** Source of the authentication challenge. */ public enum AuthChallengeSource { @JsonProperty("Server") SERVER, @JsonProperty("Proxy") PROXY }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/BlockedCookieWithReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.github.kklisura.cdt.protocol.v2023.support.annotations.Experimental; import java.util.List; /** A cookie with was not sent with a request with the corresponding reason. */ @Experimental public class BlockedCookieWithReason { private List<CookieBlockedReason> blockedReasons; private Cookie cookie; /** The reason(s) the cookie was blocked. */ public List<CookieBlockedReason> getBlockedReasons() { return blockedReasons; } /** The reason(s) the cookie was blocked. */ public void setBlockedReasons(List<CookieBlockedReason> blockedReasons) { this.blockedReasons = blockedReasons; } /** The cookie object representing the cookie which was not sent. */ public Cookie getCookie() { return cookie; } /** The cookie object representing the cookie which was not sent. */ public void setCookie(Cookie cookie) { this.cookie = cookie; } }
0
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types
java-sources/ai/platon/pulsar/pulsar-browser/3.0.15/com/github/kklisura/cdt/protocol/v2023/types/network/BlockedReason.java
package com.github.kklisura.cdt.protocol.v2023.types.network; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2023 Kenan Klisura * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ import com.fasterxml.jackson.annotation.JsonProperty; /** The reason why request was blocked. */ public enum BlockedReason { @JsonProperty("other") OTHER, @JsonProperty("csp") CSP, @JsonProperty("mixed-content") MIXED_CONTENT, @JsonProperty("origin") ORIGIN, @JsonProperty("inspector") INSPECTOR, @JsonProperty("subresource-filter") SUBRESOURCE_FILTER, @JsonProperty("content-type") CONTENT_TYPE, @JsonProperty("coep-frame-resource-needs-coep-header") COEP_FRAME_RESOURCE_NEEDS_COEP_HEADER, @JsonProperty("coop-sandboxed-iframe-cannot-navigate-to-coop-page") COOP_SANDBOXED_IFRAME_CANNOT_NAVIGATE_TO_COOP_PAGE, @JsonProperty("corp-not-same-origin") CORP_NOT_SAME_ORIGIN, @JsonProperty("corp-not-same-origin-after-defaulted-to-same-origin-by-coep") CORP_NOT_SAME_ORIGIN_AFTER_DEFAULTED_TO_SAME_ORIGIN_BY_COEP, @JsonProperty("corp-not-same-site") CORP_NOT_SAME_SITE }