<!--
Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
This file describes the enumerations referenced by entries in histograms.xml for
this directory. Some enums may instead be listed in the central enums.xml file
at src/tools/metrics/histograms/enums.xml when multiple files use them.
For best practices on writing enumerations descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Enum-Histograms
Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->
<histogram-configuration>
<!-- Enum types -->
<enums>
<enum name="CustomTabsBrandingAppIdType">
<summary>Used by CustomTabs.Branding.AppIdType</summary>
<int value="0" label="INVALID"/>
<int value="1" label="PACKAGE_NAME"/>
<int value="2" label="REFERRER"/>
</enum>
<enum name="CustomTabsCloseCause">
<int value="0" label="User action in Chrome (back press, close button)"/>
<int value="1" label="User action in Android (home)"/>
<int value="2" label="Auto-closed"/>
</enum>
<enum name="CustomTabsConnection">
<int value="0" label="Disconnected from service w/o KeepAlive connection"/>
<int value="1" label="Disconnected from service with KeepAlive connection"/>
<int value="2" label="Connected to service w/o KeepAlive connection"/>
<int value="3" label="Connected to service with KeepAlive connection"/>
</enum>
<enum name="CustomTabsFeatureUsed">
<int value="0" label="Sessions - counter for all sessions"/>
<int value="1" label="Action button EXTRA_ACTION_BUTTON_BUNDLE"/>
<int value="2" label="Action button tint EXTRA_TINT_ACTION_BUTTON"/>
<int value="3" label="Background color EXTRA_INITIAL_BACKGROUND_COLOR"/>
<int value="4" label="Background EXTRA_ENABLE_BACKGROUND_INTERACTION"/>
<int value="5" label="Close button EXTRA_CLOSE_BUTTON_ICON"/>
<int value="6" label="Close position EXTRA_CLOSE_BUTTON_POSITION"/>
<int value="7" label="Color dark CTF_DARK"/>
<int value="8" label="Color light CTF_LIGHT"/>
<int value="9" label="Color scheme EXTRA_COLOR_SCHEME"/>
<int value="10" label="Color system CTF_SYSTEM"/>
<int value="11" label="Disable download EXTRA_DISABLE_DOWNLOAD_BUTTON"/>
<int value="12" label="Disable star EXTRA_DISABLE_STAR_BUTTON"/>
<int value="13" label="Exit animation EXTRA_EXIT_ANIMATION_BUNDLE"/>
<int value="14" label="AGA experiment ids EXPERIMENT_IDS"/>
<int value="15" label="Incognito EXTRA_OPEN_NEW_INCOGNITO_TAB"/>
<int value="16" label="Initial height EXTRA_INITIAL_ACTIVITY_HEIGHT_PX"/>
<int value="17" label="Media EXTRA_ENABLE_EMBEDDED_MEDIA_EXPERIENCE"/>
<int value="18" label="Media launcher EXTRA_BROWSER_LAUNCH_SOURCE"/>
<int value="19" label="Media url EXTRA_MEDIA_VIEWER_URL"/>
<int value="20" label="Menu items EXTRA_MENU_ITEMS"/>
<int value="21" label="Package extra EXTRA_CALLING_ACTIVITY_PACKAGE"/>
<int value="22" label="Package from Sessions or Extra CTF_PACKAGE_NAME"/>
<int value="23" label="Partial corners EXTRA_TOOLBAR_CORNER_RADIUS_DP"/>
<int value="24" label="Partial height layout CTF_PARTIAL"/>
<int value="25" label="Pending intent EXTRA_REMOTEVIEWS_PENDINGINTENT"/>
<int value="26" label="Reader Mode usage READER_MODE"/>
<int value="27" label="Remote view IDs EXTRA_REMOTEVIEWS_VIEW_IDS"/>
<int value="28" label="Remote views EXTRA_REMOTEVIEWS"/>
<int value="29" label="Resizable EXTRA_ACTIVITY_HEIGHT_RESIZE_BEHAVIOR"/>
<int value="30" label="Screen orientation EXTRA_SCREEN_ORIENTATION"/>
<int value="31" label="Sent by Chrome CTF_SENT_BY_CHROME"/>
<int value="32" label="Service keep alive EXTRA_KEEP_ALIVE"/>
<int value="33" label="Share menu EXTRA_DEFAULT_SHARE_MENU_ITEM"/>
<int value="34" label="Share state EXTRA_SHARE_STATE"/>
<int value="35" label="Title visibility EXTRA_TITLE_VISIBILITY_STATE"/>
<int value="36" label="Toolbar items EXTRA_TOOLBAR_ITEMS"/>
<int value="37" label="Translate specified EXTRA_TRANSLATE_LANGUAGE"/>
<int value="38" label="TWA display mode EXTRA_DISPLAY_MODE"/>
<int value="39" label="TWA EXTRA_LAUNCH_AS_TRUSTED_WEB_ACTIVITY"/>
<int value="40" label="TWA origins EXTRA_ADDITIONAL_TRUSTED_ORIGINS"/>
<int value="41" label="Url bar hiding EXTRA_ENABLE_URLBAR_HIDING"/>
<int value="42" label="Translate specified EXTRA_AUTO_TRANSLATE_LANGUAGE"/>
<int value="43" label="Experiment override EXTRA_AGA_EXPERIMENT_ENABLE"/>
<int value="44" label="Partial width custom tab CTF_PARTIAL_SIDE_SHEET"/>
<int value="45" label="Break point EXTRA_ACTIVITY_SIDE_SHEET_BREAKPOINT_DP"/>
<int value="46" label="Initial width EXTRA_INITIAL_ACTIVITY_WIDTH_PX"/>
<int value="47"
label="Maximize button EXTRA_ACTIVITY_SIDE_SHEET_ENABLE_MAXIMIZATION"/>
<int value="48"
label="Secondary toolbar swipe-up pending intent
EXTRA_SECONDARY_TOOLBAR_SWIPE_UP_ACTION"/>
<int value="49"
label="Decoration type EXTRA_ACTIVITY_SIDE_SHEET_DECORATION_TYPE"/>
<int value="50"
label="Side sheet position EXTRA_ACTIVITY_SIDE_SHEET_POSITION"/>
<int value="51"
label="Side sheet animation EXTRA_ACTIVITY_SIDE_SHEET_SLIDE_IN_BEHAVIOR"/>
<int value="52"
label="Rounded corners position
EXTRA_ACTIVITY_SIDE_SHEET_ROUNDED_CORNERS_POSITION"/>
<int value="53"
label="Enable page insights hub EXTRA_ENABLE_PAGE_INSIGHTS_HUB"/>
<int value="54"
label="Scroll content may resize tab
EXTRA_ACTIVITY_SCROLL_CONTENT_RESIZE"/>
<int value="55" label="Ephemeral EXTRA_ENABLE_EPHEMERAL_BROWSING"/>
<int value="56"
label="Enable google bottom bar EXTRA_ENABLE_GOOGLE_BOTTOM_BAR"/>
<int value="57"
label="Google bottom bar buttons EXTRA_GOOGLE_BOTTOM_BAR_BUTTONS"/>
<int value="58" label="Support multi-network EXTRA_NETWORK"/>
</enum>
<enum name="CustomTabsMinimizedEvents">
<int value="0" label="Minimized into PiP"/>
<int value="1" label="Maximized from PiP"/>
<int value="2" label="PiP dismissed or destroyed"/>
</enum>
<enum name="CustomTabsMinimizedFeatureAvailability">
<int value="0" label="Available"/>
<int value="1"
label="(Obsolete) Unavailable: API level is too low. Removed 2024/02."/>
<int value="2" label="Unavailable: Low-end device"/>
<int value="3" label="Unavailable: System doesn't have PiP feature"/>
<int value="4" label="Unavailable: PiP permission isn't granted"/>
<int value="5" label="Unavailable: Device is on manufacturer exclude list"/>
</enum>
<enum name="CustomTabsParallelRequestStatusOnStart">
<int value="0" label="No Parallel Request was requested"/>
<int value="1" label="Parallel request successfully started"/>
<int value="2" label="Failure: Chrome was not initialized"/>
<int value="3" label="Failure: Calling application not authorized"/>
<int value="4" label="Failure: Invalid URL"/>
<int value="5" label="Failure: Invalid referrer"/>
<int value="6" label="Failure: Invalid referrer for the calling session"/>
</enum>
<enum name="CustomTabsPartialCustomTabType">
<int value="0" label="No type"/>
<int value="1" label="Partial Custom Tab is a bottom-sheet"/>
<int value="2" label="Partial Custom Tab is a side-sheet"/>
<int value="3" label="Partial Custom Tab is full-size"/>
</enum>
<enum name="CustomTabsSessionDisconnectStatus">
<int value="0" label="Unknown"/>
<int value="1" label="Custom Tab in Foreground"/>
<int value="2" label="Custom Tab in Foreground, KEEP_ALIVE set"/>
<int value="3" label="Custom Tab in Background"/>
<int value="4" label="Custom Tab in Background, KEEP_ALIVE set"/>
<int value="5" label="Custom Tab in Foreground, the system is low on memory"/>
<int value="6"
label="Custom Tab in Foreground, KEEP_ALIVE set, the system is low on
memory"/>
<int value="7" label="Custom Tab in Background, the system is low on memory"/>
<int value="8"
label="Custom Tab in Background, KEEP_ALIVE set, the system is low on
memory"/>
</enum>
<enum name="GoogleBottomBarButtonEvent">
<int value="0" label="Unknown button"/>
<int value="1" label="Chrome Page Insights button"/>
<int value="2" label="Embedder Page Insights button"/>
<int value="3" label="Disabled Save button"/>
<int value="4" label="Embedder Save button"/>
<int value="5" label="Chrome Share button"/>
<int value="6" label="Embedder Share button"/>
<int value="7" label="Embedder Custom button"/>
<int value="8" label="Embedder Search button"/>
<int value="9" label="Chrome Search button"/>
<int value="10" label="Embedder Home button"/>
<int value="11" label="Chrome Home button"/>
<int value="12" label="Searchbox Home button"/>
<int value="13" label="Searchbox Search entrypoint"/>
<int value="14" label="Searchbox Voice Search button"/>
<int value="15" label="Searchbox Lens button"/>
</enum>
<enum name="GoogleBottomBarCreatedEvent">
<int value="0" label="Even layout"/>
<int value="1" label="Spotlight layout"/>
</enum>
<enum name="GoogleBottomBarVariantCreatedEvent">
<int value="0" label="Unknown variant"/>
<int value="1" label="No variant"/>
<int value="2" label="Double decker"/>
<int value="3" label="Single decker"/>
<int value="4" label="Single decker with right buttons"/>
</enum>
<enum name="IncognitoCCTCallerId">
<int value="0" label="Other Apps"/>
<int value="1" label="Google Apps"/>
<int value="2" label="Chrome - Other features"/>
<int value="3" label="Chrome - Reader mode"/>
<int value="4" label="Chrome - Read later"/>
<int value="5" label="Ephemeral Tab"/>
</enum>
<enum name="MayLaunchUrlType">
<int value="0" label="No MayLaunchUrl() call."/>
<int value="1" label="Low confidence."/>
<int value="2" label="High confidence."/>
<int value="3" label="Low and High confidence."/>
<int value="4" label="Invalid session."/>
</enum>
<enum name="PageInsightsEvent">
<int value="0" label="Tap on Page Insights tab from Overflow menu"/>
<int value="1" label="Page Insights is auto-triggered in Peek state"/>
<int value="2" label="Page Insights is in Peek state"/>
<int value="3" label="Page Insights is in Expanded state"/>
<int value="4" label="Dismiss Page Insights from Peek state"/>
<int value="5" label="Dismiss Page Insights from Expanded state"/>
<int value="6"
label="Tap on XSurface view in Page Insights feature that opens a new
URL"/>
<int value="7"
label="Tap on XSurface view in Page Insights feature that shares a URL"/>
<int value="8"
label="Tap on XSurface view in Page Insights feature that opens a new
child page within the feature"/>
</enum>
<enum name="PcctDeviceSpec">
<int value="0" label="Low-end and no Pip"/>
<int value="1" label="Low-end and Pip"/>
<int value="2" label="High-end and no Pip"/>
<int value="3" label="High-end and Pip"/>
</enum>
<enum name="TrustedWebActivityDelegatedNotificationSmallIconFallback">
<int value="0" label="No fallback"/>
<int value="1" label="Fallback icon mot provided"/>
<int value="2" label="Fallback for Status Bar"/>
<int value="3" label="Fallback for Status Bar and content"/>
</enum>
<enum name="VisibleTab">
<int value="0" label="Custom Tab"/>
<int value="1" label="Chrome Tab"/>
<int value="2" label="No Visible Tab (Startup/Warmup)"/>
</enum>
<enum name="WarmupStateOnLaunch">
<int value="0" label="No Session, No Warmup"/>
<int value="1" label="No Session, Warmup"/>
<int value="2" label="Session, No Warmup, Warmup called from another UID"/>
<int value="3" label="Session, No Warmup"/>
<int value="4" label="Session, Warmup"/>
</enum>
<enum name="WebContentsState">
<int value="0" label="No WebContents"/>
<int value="1" label="Prerendered WebContents"/>
<int value="2" label="Spare WebContents"/>
<int value="3" label="Transferred WebContents"/>
</enum>
<enum name="WebShareTargetMethod">
<int value="0" label="GET"/>
<int value="1" label="POST"/>
</enum>
</enums>
</histogram-configuration>