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

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

Issue 2301833005: Get rid of AX_LINE_BREAKS attribute to improve performance. (Closed)
Patch Set: Re-worded comment. Created 4 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 8192a195e90a3811c168c35cd7ff736f748ecdfe..c9c577700cdfb6dc650c4b8db419502c8874c69d 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -344,6 +344,9 @@ class CONTENT_EXPORT BrowserAccessibility {
// to compute a name from its descendants.
std::string ComputeAccessibleNameFromDescendants();
+ // Gets the text offsets where new lines start.
+ std::vector<int> GetLineStartOffsets() const;
+
protected:
BrowserAccessibility();

Powered by Google App Engine
This is Rietveld 408576698