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

Unified Diff: content/browser/accessibility/browser_accessibility_manager.h

Issue 214243005: Fire accessibility focus/blur events on root web document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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: content/browser/accessibility/browser_accessibility_manager.h
diff --git a/content/browser/accessibility/browser_accessibility_manager.h b/content/browser/accessibility/browser_accessibility_manager.h
index ffd754b3ad817c0a93bb0eb5b8ebb03c76fac8f9..719230cb12ebf5dd7720d2df7183faa7e4dcd86d 100644
--- a/content/browser/accessibility/browser_accessibility_manager.h
+++ b/content/browser/accessibility/browser_accessibility_manager.h
@@ -84,15 +84,12 @@ class CONTENT_EXPORT BrowserAccessibilityManager {
BrowserAccessibility* GetFromRendererID(int32 renderer_id);
// Called to notify the accessibility manager that its associated native
- // view got focused. This implies that it is shown (opposite of WasHidden,
- // below).
- // The touch_event_context parameter indicates that we were called in the
- // context of a touch event.
- void GotFocus(bool touch_event_context);
+ // view got focused.
+ virtual void OnWindowFocused();
// Called to notify the accessibility manager that its associated native
- // view was hidden. When it's no longer hidden, GotFocus will be called.
- void WasHidden();
+ // view lost focus.
David Tseng 2014/04/02 22:05:05 nit: View. Also, what view?
+ virtual void OnWindowBlurred();
// Called to notify the accessibility manager that a mouse down event
// occurred in the tab.

Powered by Google App Engine
This is Rietveld 408576698