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

Unified Diff: chrome/browser/accessibility/browser_accessibility_manager.h

Issue 4292001: Add basic support for accessibility hit testing within web contents.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
Index: chrome/browser/accessibility/browser_accessibility_manager.h
===================================================================
--- chrome/browser/accessibility/browser_accessibility_manager.h (revision 62773)
+++ chrome/browser/accessibility/browser_accessibility_manager.h (working copy)
@@ -15,7 +15,6 @@
#include "gfx/native_widget_types.h"
#include "webkit/glue/webaccessibility.h"
-
class BrowserAccessibility;
#if defined(OS_WIN)
class BrowserAccessibilityManagerWin;
@@ -30,6 +29,7 @@
virtual void SetAccessibilityFocus(int acc_obj_id) = 0;
virtual void AccessibilityDoDefaultAction(int acc_obj_id) = 0;
virtual bool HasFocus() = 0;
+ virtual gfx::Rect GetViewBounds() const = 0;
};
class BrowserAccessibilityFactory {
@@ -81,6 +81,9 @@
// Tell the renderer to do the default action for this node.
void DoDefaultAction(const BrowserAccessibility& node);
+ // Retrieve the bounds of the parent View in screen coordinates.
+ gfx::Rect GetViewBounds();
+
// Called when the renderer process has notified us of about tree changes.
// Send a notification to MSAA clients of the change.
void OnAccessibilityNotifications(

Powered by Google App Engine
This is Rietveld 408576698