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

Unified Diff: chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h

Issue 743273002: Various changes required to support ChromeVox Next to read Views and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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/ash/accessibility/ax_root_obj_wrapper.h
diff --git a/chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h b/chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h
index 4007cbb41b7f711e356a1b220de008e217802ae2..72883dc51ef1d174b4422681fccefaa7813afb62 100644
--- a/chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h
+++ b/chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.h
@@ -5,14 +5,23 @@
#ifndef CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
#define CHROME_BROWSER_UI_ASH_ACCESSIBILITY_AX_ROOT_OBJ_WRAPPER_H_
+#include <string>
+
#include "base/basictypes.h"
#include "ui/views/accessibility/ax_aura_obj_wrapper.h"
+namespace {
+class AlertWindow;
+} // namespace
+
class AXRootObjWrapper : public views::AXAuraObjWrapper {
public:
explicit AXRootObjWrapper(int32 id);
~AXRootObjWrapper() override;
+ // Returns an AXAuraObjWrapper for an alert window with title set to |text|.
+ views::AXAuraObjWrapper* GetAlertForText(const std::string& text);
+
// Convenience method to check for existence of a child.
bool HasChild(views::AXAuraObjWrapper* child);
@@ -26,6 +35,8 @@ class AXRootObjWrapper : public views::AXAuraObjWrapper {
private:
int32 id_;
+ AlertWindow* alert_window_;
+
DISALLOW_COPY_AND_ASSIGN(AXRootObjWrapper);
};

Powered by Google App Engine
This is Rietveld 408576698