All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.css.StyleSheetOrigin Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.css;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
 * stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
 * inspector" rules), "regular" for regular stylesheets.
 */
public enum StyleSheetOrigin {
  INJECTED("injected"),

  USER_AGENT("user-agent"),

  INSPECTOR("inspector"),

  REGULAR("regular");

  private final String value;

  StyleSheetOrigin(String value) {
    this.value= value;
  }

  @JsonValue
  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy