1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
ash / glanceables / common / glanceables_view_id.h [blame]
// 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.
#ifndef ASH_GLANCEABLES_COMMON_GLANCEABLES_VIEW_ID_H_
#define ASH_GLANCEABLES_COMMON_GLANCEABLES_VIEW_ID_H_
namespace ash {
// Known view ids assigned to glanceables views to query them in tests.
enum class GlanceablesViewId {
kDefaultIdZero,
// `GlanceablesListFooterView`.
kListFooterTitleLabel,
kListFooterSeeAllButton,
// `GlanceablesProgressBarView`.
kProgressBar,
// `GlanceablesTimeManagementBubbleView`.
kTimeManagementBubbleHeaderView,
kTimeManagementBubbleHeaderIcon,
kTimeManagementBubbleComboBox,
kTimeManagementBubbleExpandButton,
kTimeManagementBubbleListContainer,
kTimeManagementBubbleListFooter,
kTimeManagementErrorMessageToast,
// `GlanceablesClassroomStudentView`.
kClassroomBubbleEmptyListLabel,
// `GlanceablesTasksView`.
kTasksBubbleAddNewButton,
// `GlanceablesClassroomItemView`.
kClassroomItemIcon,
kClassroomItemCourseWorkTitleLabel,
kClassroomItemCourseTitleLabel,
kClassroomItemDueDateLabel,
kClassroomItemDueTimeLabel,
// `GlanceablesTaskView`.
kTaskItemTitleLabel,
kTaskItemTitleTextField,
kTaskItemDueLabel,
kTaskItemEditInBrowserLabel,
kOriginSurfaceTypeIcon,
kAssignedTaskNotice,
// `GlanceablesContentsScrollView`.
kContentsScrollView,
};
} // namespace ash
#endif // ASH_GLANCEABLES_COMMON_GLANCEABLES_VIEW_ID_H_