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

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: fix bad merge 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
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 3decd78c85acd9f27ffa516f27d04656ea172c0a..aa30ea744d6a8a00da7ac88dbbd10d1f3ab19f12 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -204,10 +204,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.
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698