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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 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 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_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/geometry/point.h" 8 #include "ui/gfx/geometry/point.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/geometry/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,
19 // followed by a few words from the last line. See the figure below. 19 // followed by a few words from the last line. See the figure below.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698