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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h

Issue 2036343003: Chrome OS highlighting: show only focus or caret, never both. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
diff --git a/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h b/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
index 38046126b7c595d678e4c35ae45ce8201318492b..e45cc231224118d9d0cb8eaa3650ad1c7621b862 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
@@ -48,6 +48,8 @@ class AccessibilityHighlightManager : public ui::EventHandler,
void OnTextInputStateChanged(const ui::TextInputClient* client) override;
void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
+ void UpdateFocusAndCaretHighlights();
+
bool focus_ = false;
gfx::Rect focus_rect_;
@@ -55,6 +57,7 @@ class AccessibilityHighlightManager : public ui::EventHandler,
gfx::Point cursor_point_;
bool caret_ = false;
+ bool caret_visible_ = false;
gfx::Point caret_point_;
content::NotificationRegistrar registrar_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698