Chromium Code Reviews| Index: chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc |
| diff --git a/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc |
| index 69f935fe58a9ec3d22909b81cf3a9368c7e49161..e53b9b84f7ea9f7f668a00caeff41f620bed1b2b 100644 |
| --- a/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc |
| +++ b/chrome/browser/chromeos/accessibility/accessibility_highlight_manager.cc |
| @@ -9,6 +9,7 @@ |
| #include "content/public/browser/notification_service.h" |
| #include "content/public/browser/notification_types.h" |
| #include "ui/aura/window_tree_host.h" |
| +#include "ui/gfx/geometry/rect.h" |
|
Luis Héctor Chávez
2017/01/19 17:17:56
nit: Remove
yawano
2017/01/20 06:52:30
Done.
|
| #include "ui/wm/core/coordinate_conversion.h" |
| #include "ui/wm/core/cursor_manager.h" |
| @@ -76,6 +77,12 @@ void AccessibilityHighlightManager::RegisterObservers() { |
| registered_observers_ = true; |
| } |
| +void AccessibilityHighlightManager::OnViewFocusedInArc( |
| + const gfx::Rect& bounds) { |
| + focus_rect_ = bounds; |
| + UpdateFocusAndCaretHighlights(); |
| +} |
| + |
| void AccessibilityHighlightManager::OnMouseEvent(ui::MouseEvent* event) { |
| if (event->type() == ui::ET_MOUSE_MOVED) { |
| cursor_point_ = event->location(); |