| Index: content/browser/frame_host/render_frame_host_impl.h
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
|
| index 2b6952c1656ec8b8a9dcd7e367dfd0563e30d622..75e7a58f5a7e7d0767d6758948a45f1ea5c56110 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -572,12 +572,18 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
|
|
| void SetHasReceivedUserGesture();
|
|
|
| + void ClearFocusedElement();
|
| +
|
| // PlzNavigate: returns the LoFi state of the last successful navigation that
|
| // made a network request.
|
| LoFiState last_navigation_lofi_state() const {
|
| return last_navigation_lofi_state_;
|
| }
|
|
|
| + bool has_focused_editable_element() const {
|
| + return has_focused_editable_element_;
|
| + }
|
| +
|
| protected:
|
| friend class RenderFrameHostFactory;
|
|
|
| @@ -710,6 +716,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void OnSelectionChanged(const base::string16& text,
|
| uint32_t offset,
|
| const gfx::Range& range);
|
| + void OnFocusedNodeChanged(bool is_editable_element,
|
| + const gfx::Rect& bounds_in_frame_widget);
|
|
|
| #if defined(USE_EXTERNAL_POPUP_MENU)
|
| void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params);
|
| @@ -1073,6 +1081,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // requests should be queued.
|
| bool waiting_for_init_;
|
|
|
| + // If true then this frame's document has a focused element which is editable.
|
| + bool has_focused_editable_element_;
|
| +
|
| typedef std::pair<CommonNavigationParams, BeginNavigationParams>
|
| PendingNavigation;
|
| std::unique_ptr<PendingNavigation> pendinging_navigate_;
|
|
|