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

Side by Side Diff: chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698