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

com.hubspot.chrome.devtools.base.ChromiumSessionRequestIF Maven / Gradle / Ivy

There is a newer version: 94.0.4606.61
Show newest version
package com.hubspot.chrome.devtools.base;

import java.util.Optional;

import org.immutables.value.Value.Default;
import org.immutables.value.Value.Immutable;

@Immutable
@ChromeStyle
public interface ChromiumSessionRequestIF {
  int DEFAULT_SCREEN_WIDTH = 1366;  // WXGA width
  int DEFAULT_SCREEN_HEIGHT = 768;  // WXGA height

  Optional getUserAgent();

  @Default
  default boolean getUseTransparentBackground() {
    return false;
  }

  @Default
  default boolean getHideScrollBars() {
    return true;
  }

  @Default
  default int getScreenHeight() {
    return DEFAULT_SCREEN_HEIGHT;
  }

  @Default
  default int getScreenWidth() {
    return DEFAULT_SCREEN_WIDTH;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy