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

Unified Diff: content/public/renderer/render_frame_observer.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 | « components/autofill/content/renderer/autofill_agent.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_frame_observer.h
diff --git a/content/public/renderer/render_frame_observer.h b/content/public/renderer/render_frame_observer.h
index b806b0f19ba92e7f064a21a8cc9f8f4398a48237..f2c429b5d971eeaf324d4717af698647ffc3909d 100644
--- a/content/public/renderer/render_frame_observer.h
+++ b/content/public/renderer/render_frame_observer.h
@@ -16,6 +16,7 @@
namespace blink {
class WebFormElement;
class WebFrame;
+class WebNode;
struct WebURLError;
}
@@ -85,6 +86,9 @@ class CONTENT_EXPORT RenderFrameObserver : public IPC::Listener,
// Called when a compositor frame has committed.
virtual void DidCommitCompositorFrame() {}
+ // Called when the focused node has changed to |node|.
+ virtual void FocusedNodeChanged(const blink::WebNode& node) {}
+
// IPC::Listener implementation.
bool OnMessageReceived(const IPC::Message& message) override;
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698