[M120 Migration][MM] Fix EME AD insert issue
[platform/framework/web/chromium-efl.git] / ash / ash_element_identifiers.h
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.
4
5 #ifndef ASH_ASH_ELEMENT_IDENTIFIERS_H_
6 #define ASH_ASH_ELEMENT_IDENTIFIERS_H_
7
8 #include "ash/ash_export.h"
9 #include "ui/base/interaction/element_identifier.h"
10
11 namespace ash {
12
13 // Element IDs -----------------------------------------------------------------
14 // Please keep this list alphabetized.
15
16 // Uniquely identifies the app list bubble view (the clamshell mode launcher).
17 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
18                                           kAppListBubbleViewElementId);
19
20 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
21                                           kBluetoothFeatureTileToggleElementId);
22
23 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kEnterpriseManagedView);
24
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);
30
31 // Uniquely identifies the `HoldingSpaceTray`.
32 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
33                                           kHoldingSpaceTrayElementId);
34
35 // Uniquely identifies the home (launcher) button.
36 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kHomeButtonElementId);
37
38 // Uniquely identifies the `LoginUserView`.
39 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kLoginUserViewElementId);
40
41 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(
42     ASH_EXPORT,
43     kQuickSettingsSettingsButtonElementId);
44 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
45                                           kQuickSettingsViewElementId);
46
47 // Uniquely identifies the `SearchBoxView`.
48 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kSearchBoxViewElementId);
49
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);
55
56 // Uniquely identifies the `ShelfView`.
57 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT, kShelfViewElementId);
58
59 // Uniquely identifies the `UnifiedSystemTray`.
60 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
61                                           kUnifiedSystemTrayElementId);
62
63 // Uniquely identifies the `WelcomeTourDialog` for user education.
64 DECLARE_EXPORTED_ELEMENT_IDENTIFIER_VALUE(ASH_EXPORT,
65                                           kWelcomeTourDialogElementId);
66
67 // Element Names ---------------------------------------------------------------
68 // Please keep this list alphabetized.
69
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";
73
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";
78
79 }  // namespace ash
80
81 #endif  // ASH_ASH_ELEMENT_IDENTIFIERS_H_