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

Unified Diff: chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc

Issue 2640503002: Disable next compatibility mode for ChromeVox on dev channel (Closed)
Patch Set: m Created 3 years, 11 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: chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc
diff --git a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc b/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc
index 5f2aa9fc302fe98f0cf62fc6f7d363220baccd24..a512660bbf4dd6d65ad3d5c1fb051d2289f6fa4e 100644
--- a/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc
+++ b/chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.h"
#include "base/strings/utf_string_conversions.h"
+#include "chrome/common/channel_info.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/aura/window.h"
@@ -53,8 +54,9 @@ void AXRootObjWrapper::GetChildren(
void AXRootObjWrapper::Serialize(ui::AXNodeData* out_node_data) {
out_node_data->id = id_;
out_node_data->role = ui::AX_ROLE_DESKTOP;
- // TODO(dtseng): Apply a richer set of states.
out_node_data->state = 0;
+ out_node_data->AddStringAttribute(ui::AX_ATTR_CHROME_CHANNEL,
+ chrome::GetChannelString());
}
int32_t AXRootObjWrapper::GetID() {

Powered by Google App Engine
This is Rietveld 408576698