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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 1914603002: Replace ViewHostMsg_TextInputState_Params with content::TextInputState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Comments 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_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index a56073ac57db550a6ebde18ab339c0bedf793d64..c14d7e21f9046ee09d73aa1b78975d57c110f02c 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -38,8 +38,6 @@
#include "ui/gfx/geometry/vector2d_f.h"
#include "ui/touch_selection/touch_selection_controller.h"
-struct ViewHostMsg_TextInputState_Params;
-
namespace cc {
class CopyOutputResult;
class Layer;
@@ -63,6 +61,7 @@ class RenderWidgetHostImpl;
class SynchronousCompositorHost;
struct DidOverscrollParams;
struct NativeWebKeyboardEvent;
+struct TextInputState;
// -----------------------------------------------------------------------------
// See comments in render_widget_host_view.h about this class and its members.
@@ -109,8 +108,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
float GetTopControlsHeight() const override;
void UpdateCursor(const WebCursor& cursor) override;
void SetIsLoading(bool is_loading) override;
- void TextInputStateChanged(
- const ViewHostMsg_TextInputState_Params& params) override;
+ void TextInputStateChanged(const TextInputState& params) override;
void ImeCancelComposition() override;
void ImeCompositionRangeChanged(
const gfx::Range& range,

Powered by Google App Engine
This is Rietveld 408576698