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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index a763430adef12f73dc1a84cbed9a2b06692a6309..bb27e539d850002e674b6d0b5cf57fd65ce32d64 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -45,7 +45,6 @@
#include "ui/gfx/geometry/rect.h"
struct BrowserPluginHostMsg_Attach_Params;
-struct ViewHostMsg_TextInputState_Params;
#if defined(OS_MACOSX)
struct FrameHostMsg_ShowPopup_Params;
@@ -70,6 +69,7 @@ class RenderWidgetHostView;
class RenderWidgetHostViewBase;
class SiteInstance;
struct DropData;
+struct TextInputState;
// A browser plugin guest provides functionality for WebContents to operate in
// the guest role and implements guest-specific overrides for ViewHostMsg_*
@@ -332,8 +332,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
void OnUnlockMouseAck(int instance_id);
void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect);
- void OnTextInputStateChanged(
- const ViewHostMsg_TextInputState_Params& params);
+ void OnTextInputStateChanged(const TextInputState& params);
void OnImeSetComposition(
int instance_id,
const std::string& text,
@@ -426,8 +425,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
// Text input type states.
// Using scoped_ptr to avoid including the header file: view_messages.h.
- std::unique_ptr<const ViewHostMsg_TextInputState_Params>
- last_text_input_state_;
+ std::unique_ptr<const TextInputState> last_text_input_state_;
// The is the routing ID for a swapped out RenderView for the guest
// WebContents in the embedder's process.
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698