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

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

Issue 2558933002: Add more fine-grained accessibility modes. (Closed)
Patch Set: Rename constants 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 32a11dd9be3a867304de28a005030d553062d000..2d2f36a7511a24bb14b0d2ef08397402a01d2daa 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -446,12 +446,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