Chromium Code Reviews| 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..85b3dbbe4d9679410cf858d417667c1a5fd450cf 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); |
| + // Initialize a row in the system menu as checkable and update the check mark |
| + // status of this row. |
| + static void InitializeAsCheckableRow(HoverHighlightView* container, |
| + bool checked); |
| + |
| + // Update the status of check mark when click a row in the system menu. |
|
tdanderson
2017/04/07 20:57:32
nit: How about something like "Updates the visibil
|
| + static void UpdateCheckMarkVisibility(HoverHighlightView* container, |
| + bool visible); |
| + |
| private: |
| // Returns the effective ink drop insets for |host| according to the |
| // |ink_drop_style|. |