chromium/chrome/browser/ui/tabs/tab_enums.h

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

#ifndef CHROME_BROWSER_UI_TABS_TAB_ENUMS_H_
#define CHROME_BROWSER_UI_TABS_TAB_ENUMS_H_

// Alert states for a tab. Any number of these (or none) may apply at once.
enum class TabAlertState {};

// State indicating if the user is following the web feed of the site loaded in
// a tab.
enum class TabWebFeedFollowState {};

// The Service, UI, or Setting which muted the tab.
enum class TabMutedReason {};

// A BitField used to specify what should happen when the tab is closed.
enum TabCloseTypes {};

// Constants used when adding tabs.
enum AddTabTypes {};

// Enumerates different ways to open a new tab. Does not apply to opening
// existing links or searches in a new tab, only to brand new empty tabs.
// KEEP IN SYNC WITH THE NewTabType ENUM IN enums.xml.
// NEW VALUES MUST BE APPENDED AND AVOID CHANGING ANY PRE-EXISTING VALUES.
enum NewTabTypes {};

// Enumerates different types of tab activation. Mainly used for
// comparison between classic tab strip and WebUI tab strip.
// KEEP IN SYNC WITH THE TabActivationTypes ENUM IN enums.xml.
// NEW VALUES MUST BE APPENDED AND AVOID CHANGING ANY PRE-EXISTING VALUES.
enum class TabActivationTypes {};

#endif  // CHROME_BROWSER_UI_TABS_TAB_ENUMS_H_