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

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

Issue 2641403002: [refactor] - Move IsFocusedElementEditable() and ClearFocusedElement() from RenderViewHost to WebCo… (Closed)
Patch Set: Addressed sky@'s comment 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 a6864b48d877853c52e546c947b8fa3643f29402..2e1dda4105ce512cfc7c9bdcb3a2f5d9ac551530 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -190,14 +190,6 @@ 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698