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

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 8746022: Split accessible bounds calculation into two methods for Mac & Win (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.h
===================================================================
--- content/browser/accessibility/browser_accessibility.h (revision 111700)
+++ content/browser/accessibility/browser_accessibility.h (working copy)
@@ -97,10 +97,15 @@
// of its parent.
BrowserAccessibility* GetNextSibling();
+ // Returns the bounds of this object in coordinates relative to the
+ // top-left corner of the overall web area.
+ gfx::Rect GetLocalBoundsRect();
+
// Returns the bounds of this object in screen coordinates.
- gfx::Rect GetBoundsRect();
+ gfx::Rect GetGlobalBoundsRect();
- // Returns the deepest descendant that contains the specified point.
+ // Returns the deepest descendant that contains the specified point
+ // (in global screen coordinates).
BrowserAccessibility* BrowserAccessibilityForPoint(const gfx::Point& point);
//
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698