1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_ASH_ELEMENT_IDENTIFIERS_H_
6 #define ASH_ASH_ELEMENT_IDENTIFIERS_H_
8 #include "ash/ash_export.h"
9 #include "ui/base/interaction/element_identifier.h"
13 // Element IDs -----------------------------------------------------------------
14 // Please keep this list alphabetized.
16 // Uniquely identifies the app list bubble view (the clamshell mode launcher).
17 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
18 kAppListBubbleViewElementId);
20 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
21 kBluetoothFeatureTileToggleElementId);
23 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kEnterpriseManagedView);
25 // Uniquely identifies an element corresponding to the Explore app. Note that
26 // this may be used in multiple contexts (e.g. app window, launcher, shelf,
27 // etc.), so care must be taken to use the desired context when looking up the
28 // associated element.
29 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kExploreAppElementId);
31 // Uniquely identifies the `HoldingSpaceTray`.
32 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
33 kHoldingSpaceTrayElementId);
35 // Uniquely identifies the home (launcher) button.
36 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kHomeButtonElementId);
38 // Uniquely identifies the `LoginUserView`.
39 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kLoginUserViewElementId);
41 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(
43 kQuickSettingsSettingsButtonElementId);
44 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
45 kQuickSettingsViewElementId);
47 // Uniquely identifies the `SearchBoxView`.
48 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kSearchBoxViewElementId);
50 // Uniquely identifies an element corresponding to the Settings app. Note that
51 // this may be used in multiple contexts (e.g. app window, launcher, shelf,
52 // etc.), so care must be taken to use the desired context when looking up the
53 // associated element.
54 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kSettingsAppElementId);
56 // Uniquely identifies the `ShelfView`.
57 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kShelfViewElementId);
59 // Uniquely identifies the `UnifiedSystemTray`.
60 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
61 kUnifiedSystemTrayElementId);
63 // Uniquely identifies the `WelcomeTourDialog` for user education.
64 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
65 kWelcomeTourDialogElementId);
67 // Element Names ---------------------------------------------------------------
68 // Please keep this list alphabetized.
70 // Name which may be set for the `HomeButton` during an interaction sequence to
71 // uniquely identify a particular instance.
72 inline constexpr char kHomeButtonElementName[] = "kHomeButtonElementName";
74 // Name which may be set for the `UnifiedSystemTray` during an interaction
75 // sequence to uniquely identify a particular instance.
76 inline constexpr char kUnifiedSystemTrayElementName[] =
77 "kUnifiedSystemTrayElementName";
81 #endif // ASH_ASH_ELEMENT_IDENTIFIERS_H_