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

Unified Diff: chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h

Issue 2388093004: Explicitly show and hide accessible rings rather than using offscreen coords. (Closed)
Patch Set: Created 4 years, 2 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: chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h
diff --git a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h
index 80feb5ce3a2bcaaf5d5d4780915f33f281a8e44f..a2049a63df60c08274b3b5a278be43082a47129a 100644
--- a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h
+++ b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h
@@ -31,12 +31,15 @@ class AccessibilityFocusRingController : public FocusRingLayerDelegate {
// ring should persist or fade out.
void SetFocusRing(const std::vector<gfx::Rect>& rects,
FocusRingBehavior focus_ring_behavior);
+ void HideFocusRing();
// Draw a ring around the mouse cursor. It fades out automatically.
void SetCursorRing(const gfx::Point& location);
+ void HideCursorRing();
// Draw a ring around the text caret. It fades out automatically.
void SetCaretRing(const gfx::Point& location);
+ void HideCaretRing();
// Don't fade in / out, for testing.
void SetNoFadeForTesting();

Powered by Google App Engine
This is Rietveld 408576698