chromium/third_party/blink/public/mojom/page/page_visibility_state.mojom

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module blink.mojom;

// This enum represents the visibility state of a page. The state can
// transition from one to another, not necessarily in the following order.
enum PageVisibilityState {
  // Page is shown.
  kVisible,
  // Page is hidden.
  kHidden,
  // Page is hidden but still rendering, e.g. to generate a screenshot.
  kHiddenButPainting,
};