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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1652483002: Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a Compile Error Created 4 years, 9 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 9907baa6107bc364ad05ac6b14c9de7e9f00ace1..098a9d8950c42dbaa9ca907fb6d992028fdffb94 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -618,6 +618,9 @@ class CONTENT_EXPORT WebContentsImpl
const std::vector<uint8_t>& proto) override;
void OnRenderFrameProxyVisibilityChanged(bool visible) override;
void SendScreenRects() override;
+ TextInputState GetTextInputState() override;
+ void UpdateTextInputState(RenderWidgetHostViewBase* rwhv,
+ bool text_input_state_changed) override;
// RenderFrameHostManager::Delegate ------------------------------------------
@@ -1337,6 +1340,10 @@ class CONTENT_EXPORT WebContentsImpl
bool page_scale_factor_is_one_;
+ // The RWHV which is currently focused.
+ TextInputState text_input_state_;
+ RenderWidgetHostViewBase* view_with_active_text_input_;
+
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
base::WeakPtrFactory<WebContentsImpl> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698