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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implemented WebViewImpl::getCompositionCharacterBounds Created 4 years, 7 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: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 4998d018a4b0aa5acf4cb15650c0c993af9e3956..30eb7e23c2822d5ac0c713df0cc660de0450f0ef 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -466,32 +466,28 @@ bool WebFrameWidgetImpl::setComposition(
int selectionStart,
int selectionEnd)
{
- // FIXME: To be implemented.
- return false;
+ return view()->setComposition(text, underlines, selectionStart, selectionEnd);
EhsanK 2016/06/09 03:24:26 Following the comments on getCompositionCharacterB
}
bool WebFrameWidgetImpl::confirmComposition()
{
// FIXME: To be implemented.
- return false;
+ return view()->confirmComposition();
}
bool WebFrameWidgetImpl::confirmComposition(ConfirmCompositionBehavior selectionBehavior)
{
- // FIXME: To be implemented.
- return false;
+ return view()->confirmComposition(selectionBehavior);
}
bool WebFrameWidgetImpl::confirmComposition(const WebString& text)
{
- // FIXME: To be implemented.
- return false;
+ return view()->confirmComposition(text);
}
bool WebFrameWidgetImpl::compositionRange(size_t* location, size_t* length)
{
- // FIXME: To be implemented.
- return false;
+ return view()->compositionRange(location, length);
}
WebTextInputInfo WebFrameWidgetImpl::textInputInfo()
@@ -645,6 +641,11 @@ void WebFrameWidgetImpl::didChangeWindowResizerRect()
m_localRoot->frameView()->windowResizerRectChanged();
}
+bool WebFrameWidgetImpl::getCompositionCharacterBounds(WebVector<WebRect>& bounds)
+{
+ return view()->getCompositionCharacterBounds(bounds);
+}
+
void WebFrameWidgetImpl::handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent& event)
{
// FIXME: WebWidget doesn't have the method below.

Powered by Google App Engine
This is Rietveld 408576698