chromium/chrome/browser/ui/android/edge_to_edge/internal/java/src/org/chromium/chrome/browser/ui/edge_to_edge/EdgeToEdgeBottomChinProperties.java

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.ui.edge_to_edge;

import org.chromium.ui.modelutil.PropertyKey;
import org.chromium.ui.modelutil.PropertyModel.WritableBooleanPropertyKey;
import org.chromium.ui.modelutil.PropertyModel.WritableIntPropertyKey;

class EdgeToEdgeBottomChinProperties {
    /** The Y offset of the layer in px. */
    static final WritableIntPropertyKey Y_OFFSET = new WritableIntPropertyKey();

    /** The height of the bottom chin layer in px. */
    static final WritableIntPropertyKey HEIGHT = new WritableIntPropertyKey();

    /** Whether the bottom chin component is visible. */
    static final WritableBooleanPropertyKey IS_VISIBLE = new WritableBooleanPropertyKey();

    /** The color of the bottom chin layer. */
    static final WritableIntPropertyKey COLOR = new WritableIntPropertyKey();

    /** The color of the divider */
    static final WritableIntPropertyKey DIVIDER_COLOR = new WritableIntPropertyKey();

    static final PropertyKey[] ALL_KEYS =
            new PropertyKey[] {Y_OFFSET, HEIGHT, IS_VISIBLE, COLOR, DIVIDER_COLOR};
}