1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ash / quick_insert / model / quick_insert_mode_type.h [blame]
// 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.
#ifndef ASH_QUICK_INSERT_MODEL_QUICK_INSERT_MODE_TYPE_H_
#define ASH_QUICK_INSERT_MODEL_QUICK_INSERT_MODE_TYPE_H_
#include "ash/ash_export.h"
namespace ash {
enum class QuickInsertModeType {
// Triggered without focusing on an input field.
kUnfocused,
// Triggered with focus, but no selected text in a non-password field.
kNoSelection,
// Triggered with focus and selected text in a non-password field.
kHasSelection,
// Triggered with focus in a password field.
kPassword,
};
}
#endif // ASH_QUICK_INSERT_MODEL_QUICK_INSERT_MODE_TYPE_H_