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

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

Issue 558943002: Revert of Cross-process iframe accessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 912620ebb49e14e02ca79eb57fdbb7f0567cb884..eeb940e793bdd8021a305dcfc5d4cda15d65ac83 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -31,13 +31,12 @@
//
// BrowserAccessibility
//
-// A BrowserAccessibility object represents one node in the accessibility
-// tree on the browser side. It exactly corresponds to one WebAXObject from
-// Blink. It's owned by a BrowserAccessibilityManager.
-//
-// There are subclasses of BrowserAccessibility for each platform where
-// we implement native accessibility APIs. This base class is used occasionally
-// for tests.
+// Class implementing the cross platform interface for the Browser-Renderer
+// communication of accessibility information, providing accessibility
+// to be used by screen readers and other assistive technology (AT).
+//
+// An implementation for each platform handles platform specific accessibility
+// APIs.
//
////////////////////////////////////////////////////////////////////////////////
class CONTENT_EXPORT BrowserAccessibility {
@@ -246,15 +245,6 @@
// Append the text from this node and its children.
std::string GetTextRecursive() const;
- // Identifies the given frame tree node id as the only child of this node,
- // so any call to PlatformChildCount/PlatformGetChild will use
- // BrowserAccessibilityDelegate::AccessibilityGetChildFrame to retrieve
- // the BrowserAccessibilityManager of the child frame and return its root
- // node as this node's child.
- void SetChildFrameTreeNodeId(int64 child_frame_tree_node_id);
-
- int64 child_frame_tree_node_id() const { return child_frame_tree_node_id_; }
-
protected:
BrowserAccessibility();
@@ -272,9 +262,7 @@
std::string name_;
std::string value_;
- // If nonzero, the frame tree node id of the child frame of this node.
- int64 child_frame_tree_node_id_;
-
+ private:
DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
};
« no previous file with comments | « content/browser/accessibility/accessibility_tree_formatter.cc ('k') | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698