assistant_view_ids.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef ASH_ASSISTANT_UI_ASSISTANT_VIEW_IDS_H_
  5. #define ASH_ASSISTANT_UI_ASSISTANT_VIEW_IDS_H_
  6. namespace ash {
  7. // IDs used for the main views that compose the Assistant UI.
  8. // Use these for easy access to the views during the unittests.
  9. // Note that these IDs are only guaranteed to be unique inside
  10. // |AssistantPageView|.
  11. enum AssistantViewID {
  12. // We start at 1 because 0 is not a valid view ID.
  13. kMainView = 1,
  14. // Dialog plate and its components.
  15. kDialogPlate,
  16. kKeyboardInputToggle,
  17. kMicView,
  18. kModuleIcon,
  19. kTextQueryField,
  20. kVoiceInputToggle,
  21. // Main stage and its components.
  22. kMainStage,
  23. kFooterView,
  24. kGreetingLabel,
  25. kOptInView,
  26. kProgressIndicator,
  27. kQueryView,
  28. kSuggestionContainer,
  29. kUiElementContainer,
  30. kZeroStateView,
  31. kOnboardingView,
  32. kHorizontalSeparator,
  33. // UIs in OptInView
  34. kOptInViewStyledLabel,
  35. // UIs in QueryView
  36. kHighConfidenceLabel,
  37. kLowConfidenceLabel,
  38. // UIs in UiElementContainer
  39. kOverflowIndicator,
  40. kAshWebView,
  41. // UIs in AssistantOnboardingSuggestionView
  42. kAssistantOnboardingSuggestionViewLabel,
  43. // UIs in SuggestionChipView
  44. kSuggestionChipViewLabel
  45. };
  46. } // namespace ash
  47. #endif // ASH_ASSISTANT_UI_ASSISTANT_VIEW_IDS_H_