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

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

Issue 1889313002: Revert of Browser Side Text Input State Tracking for OOPIF (Manual). (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 fcb33292629035d1b208b15c92db7a26b9a9142e..25a218fbd14b5837d606350c830643e8dcb7ed38 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -34,7 +34,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"
@@ -173,7 +172,6 @@ InterstitialPageImpl::InterstitialPageImpl(
create_view_(true),
pause_throbber_(false),
delegate_(delegate),
- text_input_state_(new TextInputState()),
weak_ptr_factory_(this) {
InitInterstitialPageMap();
}
@@ -540,19 +538,6 @@ void InterstitialPageImpl::RenderWidgetDeleted(
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