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

// Do not edit this file manually. See README.chromium for details on
// how to edit this file.

syntax = 'proto3';

option optimize_for = LITE_RUNTIME;
option java_package = 'org.chromium.components.omnibox';
option java_outer_classname = 'ChromeAimEntryPointProto';

package omnibox;
// AIM entry points.
enum ChromeAimEntryPoint {
  // Entry point is not set or unknown. This is the default value so that if
  // a new entry point is added and not wired yet, it doesn't count mistakenly
  // towards counting another entry point.
  UNKNOWN_AIM_ENTRY_POINT = 0;

  // AIM entered from the NTP Realbox entrypoint.
  DESKTOP_CHROME_NTP_REALBOX_ENTRY_POINT = 42;

  // AIM entered from the NTP fake omnibox entrypoint on Chrome Android.
  ANDROID_CHROME_NTP_FAKE_OMNIBOX_ENTRY_POINT = 43;

  // AIM entered from the omnibox entrypoint on Chrome Android.
  ANDROID_CHROME_NTP_OMNIBOX_ENTRY_POINT = 44;

  // AIM entered from the omnibox entrypoint on Chrome iOS.
  IOS_CHROME_NTP_FAKE_OMNIBOX_ENTRY_POINT = 47;

  // AIM entered from the Desktop Chrome omnibox keyword entry point.
  DESKTOP_CHROME_OMNIBOX_KEYWORD_ENTRY_POINT = 48;

  // AIM is entered from a shortcut of typed state of omnibox on Chrome Android.
  ANDROID_CHROME_AIM_SHORTCUT_TYPED_STATE_ENTRY_POINT = 61;

  // AIM is entered from the omnibox search entrypoint on Chrome iOS.
  IOS_CHROME_OMNIBOX_SEARCH_ENTRY_POINT = 62;

  // AIM is entered from a Chrome ComposePlate history suggestion.
  SUGGEST_CHROME_COMPOSE_PLATE_HISTORY_ENTRY_POINT = 82;

  // AIM is entered from a Chrome ComposePlate recommended query suggestion.
  SUGGEST_CHROME_COMPOSE_PLATE_RECOMMENDED_QUERY_ENTRY_POINT = 83;

  // AIM is entered from a Chrome ComposePlate canned query suggestion.
  SUGGEST_CHROME_COMPOSE_PLATE_CANNED_ENTRY_POINT = 85;

  // AIM is entered from the composebox in Omnibox on NTP.
  DESKTOP_CHROME_NTP_OMNIBOX_COMPOSEBOX_ENTRY_POINT = 109;

  // AIM is entered from the composebox in Omnibox on SRP.
  DESKTOP_CHROME_SRP_OMNIBOX_COMPOSEBOX_ENTRY_POINT = 110;

  // AIM is entered from the composebox in Omnibox on Web.
  DESKTOP_CHROME_OTHER_OMNIBOX_COMPOSEBOX_ENTRY_POINT = 111;

  // AIM is entered from the co-browsing composebox.
  DESKTOP_CHROME_CO_BROWSING_COMPOSEBOX_ENTRY_POINT = 116;

  // AIM is entered from the lens contextual searchbox.
  DESKTOP_CHROME_LENS_CONTEXTUAL_SEARCHBOX_ENTRY_POINT = 117;

  // AIM is entered from the NTP Threads.
  DESKTOP_CHROME_NTP_THREADS_ENTRY_POINT = 129;

  // AIM is entered from toolbar button to enter cobrowsing mode in Chrome.
  DESKTOP_CHROME_COBROWSE_TOOLBAR_BUTTON = 130;

  // AIM is entered from the Chrome More Threads suggestion.
  // This will be used for both Chrome Desktop and Chrome Mobile.
  SUGGEST_CHROME_COMPOSE_PLATE_THREADS_ENTRY_POINT = 131;

  // AIM is entered from the fusebox entrypoint on Chrome iOS.
  IOS_CHROME_FUSEBOX_ENTRY_POINT = 139;

  // AIM is entered from the fusebox entrypoint on Chrome Android.
  ANDROID_CHROME_FUSEBOX_ENTRY_POINT = 140;

  // AIM is entered via cobrowse by clicking an external link in AIO.
  DESKTOP_CHROME_COBROWSE_AIO_LINK = 173;

  // AIM is entered from pinned toolbar button to enter cobrowsing mode in
  // Chrome.
  DESKTOP_CHROME_COBROWSE_PINNED_TOOLBAR_BUTTON = 175;

  // AIM is entered from the Desktop Chrome omnibox everywhere entry point.
  DESKTOP_CHROME_OMNIBOX_EVERYWHERE = 190;

  // AIM is entered from the Desktop Chrome composebox everywhere entry point.
  DESKTOP_CHROME_COMPOSEBOX_EVERYWHERE = 191;

  // AIM entered from the app bar button on Chrome iOS.
  IOS_CHROME_APP_BAR_ENTRY_POINT = 192;

  // AIM is entered from the NTP Action Chips in Chrome.
  DESKTOP_CHROME_NTP_ACTION_CHIPS_ENTRY_POINT = 198;

  // AIM is entered from the omnibox action chip (Ask G) to enter cobrowsing.
  DESKTOP_CHROME_COBROWSE_OMNIBOX_ACTION = 205;

  // AIM is entered from the omnibox composebox search with an attached tab.
  DESKTOP_CHROME_COBROWSE_OMNIBOX_TAB_SEARCH = 206;

  // AIM is entered from a contextual search suggestion in the omnibox.
  DESKTOP_CHROME_COBROWSE_OMNIBOX_CONTEXTUAL_SUGGESTION = 207;
}
