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

Unified Diff: ui/accessibility/ax_tree_update.h

Issue 236203015: Add ToString to AXTreeUpdate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ui/accessibility/ax_tree_update.h
diff --git a/ui/accessibility/ax_tree_update.h b/ui/accessibility/ax_tree_update.h
index 0280efe64490e1118c1f80d0f2c82c4bebf619dc..314a78f823af20dbc7be2d53009a74918af0a038 100644
--- a/ui/accessibility/ax_tree_update.h
+++ b/ui/accessibility/ax_tree_update.h
@@ -50,6 +50,9 @@ struct AX_EXPORT AXTreeUpdate {
// A vector of nodes to update, according to the rules above.
std::vector<AXNodeData> nodes;
+ // Return a multi-line indented string representation, for logging.
+ std::string ToString() const;
+
// TODO(dmazzoni): location changes
};

Powered by Google App Engine
This is Rietveld 408576698