| Index: chrome/browser/accessibility/accessibility_events.h
|
| diff --git a/chrome/browser/accessibility/accessibility_events.h b/chrome/browser/accessibility/accessibility_events.h
|
| index 8ef9ffed07676eabca04624d08c1c490d78eca6d..6acfc52997c9c5142f641d5fc0124f6b122e46b5 100644
|
| --- a/chrome/browser/accessibility/accessibility_events.h
|
| +++ b/chrome/browser/accessibility/accessibility_events.h
|
| @@ -8,6 +8,7 @@
|
| #include <string>
|
| #include "base/compiler_specific.h"
|
| #include "ui/accessibility/ax_enums.h"
|
| +#include "ui/gfx/rect.h"
|
|
|
| class AccessibilityControlInfo;
|
| class AccessibilityMenuInfo;
|
| @@ -70,6 +71,9 @@ class AccessibilityControlInfo : public AccessibilityEventInfo {
|
|
|
| const std::string& context() const { return context_; }
|
|
|
| + void set_bounds(const gfx::Rect& bounds) { bounds_ = bounds; }
|
| + const gfx::Rect& bounds() const { return bounds_; }
|
| +
|
| protected:
|
| AccessibilityControlInfo(Profile* profile,
|
| const std::string& name);
|
| @@ -82,6 +86,9 @@ class AccessibilityControlInfo : public AccessibilityEventInfo {
|
| // A string describing the context of the control, such as the name of
|
| // the group or toolbar it's contained in.
|
| std::string context_;
|
| +
|
| + // The bounds of the control in global screen coordinates.
|
| + gfx::Rect bounds_;
|
| };
|
|
|
| // Accessibility information about a window passed to onWindowOpened
|
|
|