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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 2623483003: Support tracking focused node element for OOPIFs. (Closed)
Patch Set: Added the missing forward declaration Created 3 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/browser/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index a5d1d095265d27bf224d3da24ba49034082fd2ed..0f7fd3feed7057cc4d81b95645306edc5729f7c0 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -230,6 +230,14 @@ class CONTENT_EXPORT RenderViewHostDelegate {
// Whether download UI should be hidden.
virtual bool HideDownloadUI() const;
+ // Whether the focused element on the page is editable. This returns true iff
+ // the focused frame has a focused editable element.
+ virtual bool IsFocusedElementEditable();
+
+ // Asks the delegate to clear the focused element. This will lead to an IPC to
+ // the focused RenderWidget.
+ virtual void ClearFocusedElement() {}
+
protected:
virtual ~RenderViewHostDelegate() {}
};
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698