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

Unified Diff: ash/test/ash_test_views_delegate.cc

Issue 2493923002: Select-to-speak event handler (Closed)
Patch Set: Fix presubmit warning Created 4 years, 1 month 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 | « ash/test/ash_test_views_delegate.h ('k') | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_views_delegate.cc
diff --git a/ash/test/ash_test_views_delegate.cc b/ash/test/ash_test_views_delegate.cc
index 5f3f72b97075b02ae9e8634d48f36debcbd8accb..256e768a37ad62cfdd94710d72af285c31f0a762 100644
--- a/ash/test/ash_test_views_delegate.cc
+++ b/ash/test/ash_test_views_delegate.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/test/ash_test_helper.h"
#include "ash/test/ash_test_views_delegate.h"
#include "ash/shell.h"
@@ -24,5 +25,15 @@ void AshTestViewsDelegate::OnBeforeWidgetInit(
}
}
+void AshTestViewsDelegate::NotifyAccessibilityEvent(views::View* view,
+ ui::AXEvent event_type) {
+ TestViewsDelegate::NotifyAccessibilityEvent(view, event_type);
+
+ if (test_accessibility_event_delegate_) {
+ test_accessibility_event_delegate_->NotifyAccessibilityEvent(view,
+ event_type);
+ }
+}
+
} // namespace test
} // namespace ash
« no previous file with comments | « ash/test/ash_test_views_delegate.h ('k') | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698