| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ |
| 7 | 7 |
| 8 #include "ui/gfx/point.h" | 8 #include "ui/gfx/geometry/point.h" |
| 9 #include "ui/gfx/rect.h" | 9 #include "ui/gfx/rect.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 | 12 |
| 13 // An AccessibilityFocusRing is a special type of shape designed to | 13 // An AccessibilityFocusRing is a special type of shape designed to |
| 14 // outline the focused object on the screen for users with visual | 14 // outline the focused object on the screen for users with visual |
| 15 // impairments. It's specifically designed to outline text ranges that | 15 // impairments. It's specifically designed to outline text ranges that |
| 16 // span multiple lines (we'll call this a "paragraph" shape from here on, | 16 // span multiple lines (we'll call this a "paragraph" shape from here on, |
| 17 // but it works for any text range), so it can outline a shape defined by a | 17 // but it works for any text range), so it can outline a shape defined by a |
| 18 // few words from the first line, the complete contents of more lines, | 18 // few words from the first line, the complete contents of more lines, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 int margin); | 88 int margin); |
| 89 | 89 |
| 90 gfx::Rect GetBounds() const; | 90 gfx::Rect GetBounds() const; |
| 91 | 91 |
| 92 gfx::Point points[36]; | 92 gfx::Point points[36]; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace chromeos | 95 } // namespace chromeos |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ | 97 #endif // CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_H_ |
| OLD | NEW |