1 // Copyright 2014 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 5 #ifndef ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ 6 #define ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ 7 8 namespace ash { 9 10 enum ViewID { 11 VIEW_ID_NONE = 0, 12 13 // Ash IDs start above the range used in Chrome (c/b/ui/view_ids.h). 14 VIEW_ID_ASH_START = 10000, 15 16 // Row for the virtual keyboard feature in accessibility detailed view. 17 VIEW_ID_ACCESSIBILITY_VIRTUAL_KEYBOARD, 18 // Icon that indicates the virtual keyboard is enabled. 19 VIEW_ID_ACCESSIBILITY_VIRTUAL_KEYBOARD_ENABLED, 20 // Accessibility feature pod button in main view. 21 VIEW_ID_ACCESSIBILITY_TRAY_ITEM, 22 // System tray AddUserButton in UserChooserView. 23 VIEW_ID_ADD_USER_BUTTON, 24 VIEW_ID_BLUETOOTH_DEFAULT_VIEW, 25 // System tray casting row elements. 26 VIEW_ID_CAST_CAST_VIEW, 27 VIEW_ID_CAST_CAST_VIEW_LABEL, 28 VIEW_ID_CAST_MAIN_VIEW, 29 VIEW_ID_CAST_SELECT_VIEW, 30 VIEW_ID_MEDIA_TRAY_VIEW, 31 // Power button in system tray. 32 VIEW_ID_POWER_BUTTON, 33 // Sticky header rows in a scroll view. 34 VIEW_ID_STICKY_HEADER, 35 // System tray menu item for "device is managed by example.com". 36 VIEW_ID_TRAY_ENTERPRISE, 37 VIEW_ID_TRAY_ENTERPRISE_LABEL, 38 // System tray up-arrow icon that shows an update is available. 39 VIEW_ID_TRAY_UPDATE_ICON, 40 // System tray menu item label for updates (e.g. "Restart to update"). 41 VIEW_ID_TRAY_UPDATE_MENU_LABEL, 42 // System tray UserAvatarButton in TopShortcutsView. 43 VIEW_ID_USER_AVATAR_BUTTON, 44 45 // Start and end of system tray UserItemButton in UserChooserView. First 46 // user gets VIEW_ID_USER_ITEM_BUTTON_START. DCHECKs if the number of user 47 // is more than 10. 48 VIEW_ID_USER_ITEM_BUTTON_START, 49 VIEW_ID_USER_ITEM_BUTTON_END = VIEW_ID_USER_ITEM_BUTTON_START + 10, 50 51 VIEW_ID_USER_VIEW_MEDIA_INDICATOR, 52 // Keep alphabetized. 53 }; 54 55 } // namespace ash 56 57 #endif // ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ 58