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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 2558933002: Add more fine-grained accessibility modes. (Closed)
Patch Set: Address feedback Created 4 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: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 6d945a20676b389f226a9e87771053abfd2c5f30..0972eaf8ada3a6ee43e4b64563bfbf789b460f0e 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -445,12 +445,11 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// Invoked when a user cancels a before unload dialog.
virtual void BeforeUnloadDialogCancelled() {}
- // Invoked when an accessibility event is received from the renderer process.
+ // Called when accessibility events or location changes are received
+ // from a render frame, but only when the accessibility mode has the
+ // AccessibilityModeFlagWebContents flag set.
virtual void AccessibilityEventReceived(
const std::vector<AXEventNotificationDetails>& details) {}
-
- // Invoked when an accessibility location change is received from the
- // renderer process.
virtual void AccessibilityLocationChangesReceived(
const std::vector<AXLocationChangeNotificationDetails>& details) {}

Powered by Google App Engine
This is Rietveld 408576698