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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_CONTROLLER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 gfx::Rect* bottom) const; | 67 gfx::Rect* bottom) const; |
68 bool Intersects(const gfx::Rect& r1, const gfx::Rect& r2) const; | 68 bool Intersects(const gfx::Rect& r1, const gfx::Rect& r2) const; |
69 | 69 |
70 std::vector<gfx::Rect> rects_; | 70 std::vector<gfx::Rect> rects_; |
71 std::vector<AccessibilityFocusRing> previous_rings_; | 71 std::vector<AccessibilityFocusRing> previous_rings_; |
72 std::vector<AccessibilityFocusRing> rings_; | 72 std::vector<AccessibilityFocusRing> rings_; |
73 ScopedVector<AccessibilityFocusRingLayer> layers_; | 73 ScopedVector<AccessibilityFocusRingLayer> layers_; |
74 base::TimeTicks focus_change_time_; | 74 base::TimeTicks focus_change_time_; |
75 ui::Compositor* compositor_; | 75 ui::Compositor* compositor_; |
76 | 76 |
77 friend struct DefaultSingletonTraits<AccessibilityFocusRingController>; | 77 friend struct base::DefaultSingletonTraits<AccessibilityFocusRingController>; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(AccessibilityFocusRingController); | 79 DISALLOW_COPY_AND_ASSIGN(AccessibilityFocusRingController); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace chromeos | 82 } // namespace chromeos |
83 | 83 |
84 #endif // CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_CONTROLLER_H_ | 84 #endif // CHROME_BROWSER_CHROMEOS_UI_ACCESSIBILITY_FOCUS_RING_CONTROLLER_H_ |
OLD | NEW |