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

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: Merged Created 4 years, 8 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 f619d050d2424a72e3e26465d2e8e5cdf283d6ea..18e3df7e75107f698d99fae7ff8c13533cb8f2fa 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;
+ const 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;
@@ -295,6 +299,8 @@ class CONTENT_EXPORT InterstitialPageImpl
scoped_refptr<SessionStorageNamespace> session_storage_namespace_;
+ scoped_ptr<TextInputState> text_input_state_;
+
base::WeakPtrFactory<InterstitialPageImpl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(InterstitialPageImpl);
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698