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

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

Issue 2559663002: Support focus highlight in Android window (Closed)
Patch Set: Fix a comment. Created 3 years, 11 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/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 bb2b5e120bbe1f9891a317d2fb882e7a74777523..9be2288260bca60793f57efa14a0b9c36ab6af1e 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.h
@@ -16,6 +16,10 @@
#include "ui/events/event.h"
#include "ui/events/event_handler.h"
+namespace gfx {
+class Rect;
+} // namespace gfx
+
namespace chromeos {
// Manage visual highlights that Chrome OS can draw around the focused
@@ -35,6 +39,10 @@ class AccessibilityHighlightManager
void RegisterObservers();
+ // OnViewFocusedInArc is called when a view is focused in arc window and
+ // accessibility focus highlight is enabled.
+ void OnViewFocusedInArc(const gfx::Rect& boundsInScreen);
dcheng 2017/01/24 09:36:56 Nit: name_like_this, here and elsewhere in this CL
yawano 2017/01/24 11:18:09 Done. Thank you for catching this!
+
protected:
FRIEND_TEST_ALL_PREFIXES(AccessibilityFocusRingControllerTest,
CursorWorksOnMultipleDisplays);

Powered by Google App Engine
This is Rietveld 408576698