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 06242777d03075e3d1f04c75933689dc544bbf4d..cfa60c8658136640bf1769d6a41f7984a203609b 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -619,6 +619,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 ------------------------------------------ |
@@ -1338,6 +1341,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_; |
Charlie Reis
2016/03/15 18:32:01
This looks like it could get stale if the RWHV wen
EhsanK
2016/03/15 23:51:18
I added some notes above under your comment on 're
Charlie Reis
2016/03/16 16:55:13
Makes sense, though "eventually" concerns me. Is
EhsanK
2016/03/30 20:46:03
I tested the following:
- Detach: An IPC comes
Charlie Reis
2016/03/30 21:52:47
What code makes this happen? I can't follow it by
EhsanK
2016/03/30 23:36:33
Sorry for the incomplete explanation. I meant to s
Charlie Reis
2016/03/31 05:59:16
Thanks for clarifying, and I agree about the WeakP
EhsanK
2016/04/01 00:59:16
It is more correct to say that NotifyHostDelegateA
EhsanK
2016/04/01 00:59:17
I meant to say (I think I did not publish previous
|
+ |
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
base::WeakPtrFactory<WebContentsImpl> weak_factory_; |