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

Unified Diff: content/renderer/render_frame_impl.h

Issue 812033016: Add RenderFrameObserver::FocusedNodeChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 2413312f06c12063b7430d8a3bbccadf16ebc09d..ab7fd55493b8e6ffb19718d14345394b6437babe 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -196,10 +196,14 @@ class CONTENT_EXPORT RenderFrameImpl
void HandleWebAccessibilityEvent(const blink::WebAXObject& obj,
blink::WebAXEvent event);
+ // The focused node changed to |node|. If focus was lost from this frame,
+ // |node| will be null.
+ void FocusedNodeChanged(const blink::WebNode& node);
+
// TODO(dmazzoni): the only reason this is here is to plumb it through to
- // RendererAccessibility. It should be part of RenderFrameObserver, once
+ // RendererAccessibility. It should use the RenderFrameObserver method, once
// blink has a separate accessibility tree per frame.
- void FocusedNodeChanged(const blink::WebNode& node);
+ void FocusedNodeChangedForAccessibility(const blink::WebNode& node);
#if defined(ENABLE_PLUGINS)
// Notification that a PPAPI plugin has been created.

Powered by Google App Engine
This is Rietveld 408576698