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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

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
« no previous file with comments | « content/DEPS ('k') | 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 9158709ff86c3c1999fc2787b52032d64896ce94..e6676f74d6de9c2fa2d292f07d6e0c978890a9aa 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -45,6 +45,7 @@
#include "ui/gfx/geometry/rect.h"
struct BrowserPluginHostMsg_Attach_Params;
+struct ViewHostMsg_TextInputState_Params;
#if defined(OS_MACOSX)
struct FrameHostMsg_ShowPopup_Params;
@@ -69,7 +70,6 @@
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,7 +332,8 @@
void OnUnlockMouseAck(int instance_id);
void OnUpdateGeometry(int instance_id, const gfx::Rect& view_rect);
- void OnTextInputStateChanged(const TextInputState& params);
+ void OnTextInputStateChanged(
+ const ViewHostMsg_TextInputState_Params& params);
void OnImeSetComposition(
int instance_id,
const std::string& text,
@@ -425,7 +426,7 @@
// Text input type states.
// Using scoped_ptr to avoid including the header file: view_messages.h.
- scoped_ptr<const TextInputState> last_text_input_state_;
+ scoped_ptr<const ViewHostMsg_TextInputState_Params> 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 | « content/DEPS ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698