| 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 e9667981ec6ec0426901568d8db38a04f3068e54..f0f8bc3a0969a5e72e2afb15d99ba49d1e8df889 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -567,12 +567,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;
|
|
|
| @@ -699,6 +705,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);
|
| @@ -1049,6 +1057,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_;
|
|
|