Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8019)

Unified Diff: ash/common/system/tray/tray_popup_utils.h

Issue 2803893002: Reuse the code within UpdateCheckMark() (Closed)
Patch Set: Reuse the code within UpdateCheckMark(). Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5a3e23c00d6bb15892dabd4f1ca04ecda697fe26 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,10 @@ class TrayPopupUtils {
// account flow.
static bool CanOpenWebUISettings(LoginStatus status);
+ // Update the status of check mark when click an item in system menu.
+ static void UpdateCheckMarkVisibility(HoverHighlightView* container,
+ bool checked);
+
private:
// Returns the effective ink drop insets for |host| according to the
// |ink_drop_style|.

Powered by Google App Engine
This is Rietveld 408576698