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

Unified Diff: ash/system/night_light/night_light_toggle_button.h

Issue 2965163002: [Night Light] Accessibility: Make ChromeVox speak button status on toggles (Closed)
Patch Set: Rebase Created 3 years, 5 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
« no previous file with comments | « no previous file | ash/system/night_light/night_light_toggle_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/night_light/night_light_toggle_button.h
diff --git a/ash/system/night_light/night_light_toggle_button.h b/ash/system/night_light/night_light_toggle_button.h
index 7a93c8c5a9c34f15b123f4c4be4625b2aac883e3..5f9bdcd0511fcc9438dc35656ded757aef462e4e 100644
--- a/ash/system/night_light/night_light_toggle_button.h
+++ b/ash/system/night_light/night_light_toggle_button.h
@@ -16,10 +16,13 @@ class NightLightToggleButton : public SystemMenuButton {
explicit NightLightToggleButton(views::ButtonListener* listener);
~NightLightToggleButton() override = default;
+ // Toggles the status of NightLight.
+ void Toggle();
+
+ private:
// Updates the icon and its style based on the status of NightLight.
void Update();
- private:
// views::View:
void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
« no previous file with comments | « no previous file | ash/system/night_light/night_light_toggle_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698