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

Unified Diff: content/browser/web_contents/web_contents_impl.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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index aeeeebda43542495c94e91b29c4c7f71db477280..17321a139a02ac18b909cd46a13f680b31abe8c6 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -493,6 +493,9 @@ class CONTENT_EXPORT WebContentsImpl
std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
const GURL& url) override;
void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) override;
+ void OnFocusedElementChangedInFrame(
+ RenderFrameHostImpl* frame,
+ const gfx::Rect& bounds_in_root_view) override;
// RenderViewHostDelegate ----------------------------------------------------
RenderViewHostDelegateView* GetDelegateView() override;
@@ -563,6 +566,8 @@ class CONTENT_EXPORT WebContentsImpl
bool IsOverridingUserAgent() override;
bool IsJavaScriptDialogShowing() const override;
bool HideDownloadUI() const override;
+ bool IsFocusedElementEditable() override;
+ void ClearFocusedElement() override;
// NavigatorDelegate ---------------------------------------------------------
@@ -670,6 +675,7 @@ class CONTENT_EXPORT WebContentsImpl
void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override;
TextInputManager* GetTextInputManager() override;
bool OnUpdateDragCursor() override;
+ void FocusedNodeTouched(bool editable) override;
// RenderFrameHostManager::Delegate ------------------------------------------
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698