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

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

Issue 2571583008: Support tracking focused element for OOPIFs. (Closed)
Patch Set: Do not call ScrollFocusedEditableNodeIntoRect for OOPIFs. Created 4 years 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_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 105881226da37db55962d1f95d80ba444cac0582..f56e17420fd84c0f5231fc35c986637d8e192ca6 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -258,11 +258,8 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
void OnPasteFromSelectionClipboard();
void OnRouteCloseEvent();
void OnTakeFocus(bool reverse);
- void OnFocusedNodeChanged(bool is_editable_node,
- const gfx::Rect& node_bounds_in_viewport);
void OnClosePageACK();
void OnDidZoomURL(double zoom_level, const GURL& url);
- void OnFocusedNodeTouched(bool editable);
void OnFocus();
private:
@@ -334,9 +331,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// The termination status of the last render view that terminated.
base::TerminationStatus render_view_termination_status_;
- // True if the current focused element is editable.
- bool is_focused_element_editable_;
-
// This is updated every time UpdateWebkitPreferences is called. That method
// is in turn called when any of the settings change that the WebPreferences
// values depend on.

Powered by Google App Engine
This is Rietveld 408576698