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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Moved ConfirmCompositionBehavior to WebInputMethodController Created 4 years, 3 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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 6fac1db912ccf321633db160d154b472f206756d..b39b75c36606aa884807a108b031e6bd3b54af9c 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -16,8 +16,8 @@
#include "content/renderer/render_view_impl.h"
#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
#include "third_party/WebKit/public/web/WebDragStatus.h"
+#include "third_party/WebKit/public/web/WebInputMethodController.h"
#include "third_party/WebKit/public/web/WebNode.h"
-#include "third_party/WebKit/public/web/WebWidget.h"
struct BrowserPluginHostMsg_ResizeGuest_Params;
struct FrameMsg_BuffersSwapped_Params;
@@ -121,7 +121,8 @@ class CONTENT_EXPORT BrowserPlugin :
bool commitText(const blink::WebString& text,
int relative_cursor_pos) override;
bool finishComposingText(
- blink::WebWidget::ConfirmCompositionBehavior selection_behavior) override;
+ blink::WebInputMethodController::ConfirmCompositionBehavior
+ selection_behavior) override;
void extendSelectionAndDelete(int before, int after) override;

Powered by Google App Engine
This is Rietveld 408576698