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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 1895523002: Revert of Browser Side Text Input State Tracking for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 62fd22e651bcc504dbca79defd6b25dfcec969dd..784c9b481d5d1456494dd5ccb55fe60b1b45deea 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -33,7 +33,6 @@
#include "content/browser/web_contents/web_contents_view.h"
#include "content/common/frame_messages.h"
#include "content/common/input_messages.h"
-#include "content/common/text_input_state.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
@@ -172,7 +171,6 @@
create_view_(true),
pause_throbber_(false),
delegate_(delegate),
- text_input_state_(new TextInputState()),
weak_ptr_factory_(this) {
InitInterstitialPageMap();
}
@@ -539,19 +537,6 @@
CHECK(!web_contents_);
}
-const TextInputState* InterstitialPageImpl::GetTextInputState() {
- return text_input_state_.get();
-}
-
-void InterstitialPageImpl::UpdateTextInputState(RenderWidgetHostViewBase* rwhv,
- bool text_input_state_changed) {
- if (web_contents_) {
- WebContentsImpl* contents = static_cast<WebContentsImpl*>(web_contents_);
- contents->UpdateTextInputState(rwhv, text_input_state_changed);
- *text_input_state_ = *contents->GetTextInputState();
- }
-}
-
bool InterstitialPageImpl::PreHandleKeyboardEvent(
const NativeWebKeyboardEvent& event,
bool* is_keyboard_shortcut) {
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/frame_host/render_widget_host_view_child_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698