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

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

Issue 2803893002: Reuse the code within UpdateCheckMark() (Closed)
Patch Set: Rename CheckMark -> SetCheckMarkVisible, UncheckMark -> SetCheckMarkInvisible. Update the comment. 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_utils.h
diff --git a/ash/common/system/tray/tray_utils.h b/ash/common/system/tray/tray_utils.h
index a746af0c0e007ddf58cd03c530f72c6c867f5e48..da796af2fdb27c9c2e021422ea4378e50041610d 100644
--- a/ash/common/system/tray/tray_utils.h
+++ b/ash/common/system/tray/tray_utils.h
@@ -10,10 +10,14 @@ class Label;
}
namespace ash {
+class HoverHighlightView;
// Sets up a Label properly for the tray (sets color, font etc.).
void SetupLabelForTray(views::Label* label);
+// Update the check mark when check or uncheck an item in system menu.
+void SetCheckMarkVisible(HoverHighlightView* container);
+void SetCheckMarkInvisible(HoverHighlightView* container);
} // namespace ash
#endif // ASH_COMMON_SYSTEM_TRAY_TRAY_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698