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

Unified Diff: content/browser/web_contents/web_contents_android.cc

Issue 1407413002: Move some AX attrs from AXNodeData to AXTreeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finish automation API changes Created 5 years, 2 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/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index 5b6f25648dc90c36e5c4cbae2a4d370e9ce39205..3e33d312e306675cb108a1c17c20ff2af7d8c1e0 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -104,11 +104,12 @@ ScopedJavaLocalRef<jobject> WalkAXTreeDepthFirst(JNIEnv* env,
}
// Walks over the AXTreeUpdate and creates a light weight snapshot.
-void AXTreeSnapshotCallback(const ScopedJavaGlobalRef<jobject>& callback,
- float scale_factor,
- float y_offset,
- float x_scroll,
- const ui::AXTreeUpdate<ui::AXNodeData>& result) {
+void AXTreeSnapshotCallback(
+ const ScopedJavaGlobalRef<jobject>& callback,
+ float scale_factor,
+ float y_offset,
+ float x_scroll,
+ const ui::AXTreeUpdate& result) {
JNIEnv* env = base::android::AttachCurrentThread();
if (result.nodes.empty()) {
Java_WebContentsImpl_onAccessibilitySnapshot(env, nullptr, callback.obj());

Powered by Google App Engine
This is Rietveld 408576698