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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_view.h

Issue 2670003002: Accessibility for Autofill Popup View in native code (Closed)
Patch Set: Switches to CHECK to ensure crash is caught early. Created 3 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
Index: chrome/browser/ui/autofill/autofill_popup_view.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_view.h b/chrome/browser/ui/autofill/autofill_popup_view.h
index 4bb752fe467bf8df3249916f09268fbc35640c29..72acb37f31ee6930ef5f574ffd3b3b7d349bffe5 100644
--- a/chrome/browser/ui/autofill/autofill_popup_view.h
+++ b/chrome/browser/ui/autofill/autofill_popup_view.h
@@ -9,6 +9,7 @@
#include "base/strings/string16.h"
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
+#include "ui/accessibility/ax_enums.h"
namespace autofill {
@@ -30,6 +31,10 @@ class AutofillPopupView {
// Refreshes the position of the popup.
virtual void UpdateBoundsAndRedrawPopup() = 0;
+ // Notifies given accessibility event for the given row.
+ virtual void NotifyAccessibilityEventForRow(ui::AXEvent event_type,
+ size_t row) = 0;
+
// Factory function for creating the view.
static AutofillPopupView* Create(AutofillPopupController* controller);

Powered by Google App Engine
This is Rietveld 408576698