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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mus.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/renderer_host/render_widget_host_view_mus.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_mus.cc b/content/browser/renderer_host/render_widget_host_view_mus.cc
index 8e63851039e5c3bd42d01f128380aed06b880901..eb29bde8f99aefbfc4fdb9d2f7988334d2088770 100644
--- a/content/browser/renderer_host/render_widget_host_view_mus.cc
+++ b/content/browser/renderer_host/render_widget_host_view_mus.cc
@@ -13,7 +13,6 @@
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/common/render_widget_window_tree_client_factory.mojom.h"
-#include "content/common/text_input_state.h"
#include "content/public/common/mojo_shell_connection.h"
#include "mojo/shell/public/cpp/connector.h"
#include "ui/aura/client/screen_position_client.h"
@@ -125,10 +124,6 @@
}
void RenderWidgetHostViewMus::Destroy() {
- // The WebContentsImpl should be notified about us so that it will not hold
- // an invalid text input state which was due to active text on this view.
- NotifyHostDelegateAboutShutdown();
-
delete aura_window_;
}
@@ -192,9 +187,9 @@
void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) {
}
-void RenderWidgetHostViewMus::UpdateInputMethodIfNecessary(
- bool text_input_state_changed) {
- // TODO: Implement the IME logic when input state changes.
+void RenderWidgetHostViewMus::TextInputStateChanged(
+ const ViewHostMsg_TextInputState_Params& params) {
+ // TODO(fsamuel): Implement an IME mojo app.
}
void RenderWidgetHostViewMus::ImeCancelComposition() {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.h ('k') | content/browser/site_per_process_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698