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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 7e9b2b37e9175f0481eaaf6da52d38db2ce424dd..81ffec7d0be56b1e125cfc512f08e1b20a81f738 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -43,8 +43,6 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/wm/public/activation_delegate.h"
-struct ViewHostMsg_TextInputState_Params;
-
namespace aura {
class WindowTracker;
namespace client {
@@ -137,8 +135,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
void Focus() override;
void UpdateCursor(const WebCursor& cursor) override;
void SetIsLoading(bool is_loading) override;
- void TextInputStateChanged(
- const ViewHostMsg_TextInputState_Params& params) override;
+ void UpdateInputMethodIfNecessary(bool text_input_state_changed) override;
void ImeCancelComposition() override;
void ImeCompositionRangeChanged(
const gfx::Range& range,
@@ -578,14 +575,6 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// object.
ui::MotionEventAura pointer_state_;
- // The current text input type.
- ui::TextInputType text_input_type_;
- // The current text input mode corresponding to HTML5 inputmode attribute.
- ui::TextInputMode text_input_mode_;
- // The current text input flags.
- int text_input_flags_;
- bool can_compose_inline_;
-
// Bounds for the selection.
ui::SelectionBound selection_anchor_;
ui::SelectionBound selection_focus_;

Powered by Google App Engine
This is Rietveld 408576698