Index: ash/common/system/tray/tray_popup_utils.h |
diff --git a/ash/common/system/tray/tray_popup_utils.h b/ash/common/system/tray/tray_popup_utils.h |
index ecec2227b9618b85c8cbc0315ec7c4be3eb0b3ce..bd7ceb303662222b0ff4ea088553eaea91dd07f0 100644 |
--- a/ash/common/system/tray/tray_popup_utils.h |
+++ b/ash/common/system/tray/tray_popup_utils.h |
@@ -32,6 +32,7 @@ class ToggleButton; |
} // namespace views |
namespace ash { |
+class HoverHighlightView; |
// Factory/utility functions used by the system menu. |
class TrayPopupUtils { |
@@ -203,6 +204,15 @@ class TrayPopupUtils { |
// account flow. |
static bool CanOpenWebUISettings(LoginStatus status); |
+ // Initializes a row in the system menu as checkable and update the check mark |
+ // status of this row. |
+ static void InitializeAsCheckableRow(HoverHighlightView* container, |
+ bool checked); |
+ |
+ // Updates the visibility and a11y state of the checkable row |container|. |
+ static void UpdateCheckMarkVisibility(HoverHighlightView* container, |
+ bool visible); |
+ |
private: |
// Returns the effective ink drop insets for |host| according to the |
// |ink_drop_style|. |