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

Unified Diff: content/browser/frame_host/interstitial_page_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/frame_host/interstitial_page_impl.h
diff --git a/content/browser/frame_host/interstitial_page_impl.h b/content/browser/frame_host/interstitial_page_impl.h
index 983fccacccc2650a17182a3b31ef46d2760fb078..801db3ca0349cdf37f5823959415e07e0a6958ca 100644
--- a/content/browser/frame_host/interstitial_page_impl.h
+++ b/content/browser/frame_host/interstitial_page_impl.h
@@ -30,6 +30,7 @@ class NavigationControllerImpl;
class RenderViewHostImpl;
class RenderWidgetHostView;
class WebContentsView;
+struct TextInputState;
enum ResourceRequestAction {
BLOCK,
@@ -153,6 +154,9 @@ class CONTENT_EXPORT InterstitialPageImpl
// RenderWidgetHostDelegate implementation:
void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
+ TextInputState GetTextInputState() override;
+ void UpdateTextInputState(RenderWidgetHostViewBase* rwhv,
+ bool text_input_state_changed) override;
bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) override;
void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
@@ -298,6 +302,8 @@ class CONTENT_EXPORT InterstitialPageImpl
scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
+ TextInputState text_input_state_;
+
base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);

Powered by Google App Engine
This is Rietveld 408576698