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

Unified Diff: ui/app_list/search_box_model.h

Issue 935293002: Launcher Search box, Back and Mic buttons now focusable in ChromeVox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tileitemview-setselected
Patch Set: Avoid using ContentsView (fix tests). Created 5 years, 10 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
« no previous file with comments | « chrome/browser/ui/app_list/search/search_resource_manager.cc ('k') | ui/app_list/search_box_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_box_model.h
diff --git a/ui/app_list/search_box_model.h b/ui/app_list/search_box_model.h
index cdb20cddbe3333171d2f2a43f00aa4ff8d45b0b9..9faaab288bd5c842b2dfb777f62c81fa304d5014 100644
--- a/ui/app_list/search_box_model.h
+++ b/ui/app_list/search_box_model.h
@@ -28,7 +28,8 @@ class APP_LIST_EXPORT SearchBoxModel {
SpeechButtonProperty(const gfx::ImageSkia& on_icon,
const base::string16& on_tooltip,
const gfx::ImageSkia& off_icon,
- const base::string16& off_tooltip);
+ const base::string16& off_tooltip,
+ const base::string16& accessible_name);
~SpeechButtonProperty();
// The icon/tooltip when the hotword is on.
@@ -38,6 +39,9 @@ class APP_LIST_EXPORT SearchBoxModel {
// The icon/tooltip when the hotword is off.
gfx::ImageSkia off_icon;
base::string16 off_tooltip;
+
+ // The accessibility name of the button.
+ base::string16 accessible_name;
};
SearchBoxModel();
« no previous file with comments | « chrome/browser/ui/app_list/search/search_resource_manager.cc ('k') | ui/app_list/search_box_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698