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

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: Rebase 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 eff18f919a65abd91711d0f9fdd587bc581f665e..cbbc8bf77ef26375bda61e730860b623d5699f56 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -105,11 +105,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