| Index: content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java
|
| diff --git a/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java b/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java
|
| index 2bb45f742548b64c36cbe8256ae22d2d1a02a382..0317e582eff85652257987cc3ed018acb9fef3cf 100644
|
| --- a/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java
|
| +++ b/content/public/android/java/src/org/chromium/content_public/browser/AccessibilitySnapshotNode.java
|
| @@ -18,13 +18,17 @@ import java.util.ArrayList;
|
| public class AccessibilitySnapshotNode {
|
|
|
| public int x, y, scrollX, scrollY, width, height;
|
| + public int color, bkgcolor;
|
| + public boolean bold, italic, underline, strikeThrough;
|
| + public float textSize;
|
| public String text;
|
| public String className;
|
| public ArrayList<AccessibilitySnapshotNode> children =
|
| new ArrayList<AccessibilitySnapshotNode>();
|
|
|
| public AccessibilitySnapshotNode(int x, int y, int scrollX, int scrollY, int width,
|
| - int height, String text, String className) {
|
| + int height, String text, int color, int bkgcolor, float textSize, boolean bold,
|
| + boolean italic, boolean underline, boolean strikeThrough, String className) {
|
| this.x = x;
|
| this.y = y;
|
| this.scrollX = scrollX;
|
| @@ -32,6 +36,13 @@ public class AccessibilitySnapshotNode {
|
| this.width = width;
|
| this.height = height;
|
| this.text = text;
|
| + this.color = color;
|
| + this.bkgcolor = bkgcolor;
|
| + this.textSize = textSize;
|
| + this.bold = bold;
|
| + this.italic = italic;
|
| + this.underline = underline;
|
| + this.strikeThrough = strikeThrough;
|
| this.className = className;
|
| }
|
|
|
|
|