James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 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 | |
Tetsui Ohkubo | c2ab739 | 2018-06-18 03:16:28 | [diff] [blame] | 5 | #ifndef ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ |
| 6 | #define ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 7 | |
| 8 | namespace ash { |
| 9 | |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 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). |
James Cook | 8a79c9bb | 2017-10-17 23:37:14 | [diff] [blame] | 14 | VIEW_ID_ASH_START = 10000, |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 15 | |
Tetsui Ohkubo | b4b210a | 2018-11-05 01:48:38 | [diff] [blame] | 16 | // Row for auto click feature in accessibility detailed view. |
| 17 | VIEW_ID_ACCESSIBILITY_AUTOCLICK, |
| 18 | // Icon that indicates auto click is enabled. |
| 19 | VIEW_ID_ACCESSIBILITY_AUTOCLICK_ENABLED, |
| 20 | // Accessibility feature pod button in main view. |
James Cook | 8a79c9bb | 2017-10-17 23:37:14 | [diff] [blame] | 21 | VIEW_ID_ACCESSIBILITY_TRAY_ITEM, |
| 22 | VIEW_ID_BLUETOOTH_DEFAULT_VIEW, |
Tetsui Ohkubo | 8d386eb | 2018-06-07 14:41:23 | [diff] [blame] | 23 | // System tray casting row elements. |
| 24 | VIEW_ID_CAST_CAST_VIEW, |
| 25 | VIEW_ID_CAST_CAST_VIEW_LABEL, |
| 26 | VIEW_ID_CAST_MAIN_VIEW, |
| 27 | VIEW_ID_CAST_SELECT_VIEW, |
James Cook | 8a79c9bb | 2017-10-17 23:37:14 | [diff] [blame] | 28 | // System tray network submenu item for extension-controlled networks. |
| 29 | VIEW_ID_EXTENSION_CONTROLLED_WIFI, |
| 30 | VIEW_ID_MEDIA_TRAY_VIEW, |
Tetsui Ohkubo | b5c5a2a0 | 2018-06-07 03:44:04 | [diff] [blame] | 31 | // Power button in system tray. |
| 32 | VIEW_ID_POWER_BUTTON, |
James Cook | 8a79c9bb | 2017-10-17 23:37:14 | [diff] [blame] | 33 | // Sticky header rows in a scroll view. |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 34 | VIEW_ID_STICKY_HEADER, |
James Cook | 8a79c9bb | 2017-10-17 23:37:14 | [diff] [blame] | 35 | // System tray menu item for "device is managed by example.com". |
| 36 | VIEW_ID_TRAY_ENTERPRISE, |
| 37 | // System tray up-arrow icon that shows an update is available. |
| 38 | VIEW_ID_TRAY_UPDATE_ICON, |
| 39 | // System tray menu item label for updates (e.g. "Restart to update"). |
| 40 | VIEW_ID_TRAY_UPDATE_MENU_LABEL, |
| 41 | VIEW_ID_USER_VIEW_MEDIA_INDICATOR, |
| 42 | // Keep alphabetized. |
James Cook | b0bf8e8 | 2017-04-09 17:01:44 | [diff] [blame] | 43 | }; |
| 44 | |
| 45 | } // namespace ash |
| 46 | |
Tetsui Ohkubo | c2ab739 | 2018-06-18 03:16:28 | [diff] [blame] | 47 | #endif // ASH_PUBLIC_CPP_ASH_VIEW_IDS_H_ |