// Copyright 2026 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 = 'ToolSubstateProto';

package omnibox;

// Tool specific Substate which need custom input plate UI override.
// Please do not add new values without going through the SBS RFC process.
// TODO: taicheng - Deprecate this once we no longer need to support custom
// tool substate specific input plate UI override.
// Next ID: 6
enum ToolSubstate {
  // Should be treated as no tool specific substate treatment.
  TOOL_SUBSTATE_UNSPECIFIED = 0;
  // For DeepSearch Clarifying Question
  TOOL_SUBSTATE_DEEP_SEARCH_CLARIFYING_QUESTION = 1;
  // For DeepSearch Completed
  // Temporary till we support multiple DeepSearch/Browse per thread.
  TOOL_SUBSTATE_DEEP_SEARCH_COMPLETED = 2;
  // For DeepBrowse Clarifying Question
  TOOL_SUBSTATE_DEEP_BROWSE_CLARIFYING_QUESTION = 3;
  // For DeepBrowse Completed
  // Temporary till we support multiple DeepSearch/Browse per thread.
  TOOL_SUBSTATE_DEEP_BROWSE_COMPLETED = 4;
  // For Canvas followup
  TOOL_SUBSTATE_CANVAS_FOLLOWUP = 5;
}
