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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 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: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index ede2d3316759f9cf1a4890c1a077eee9846751f4..8cbc7e41b0930572d923af03b07b056709f70c05 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1081,6 +1081,16 @@ void ChromeClientImpl::showVirtualKeyboardOnElementFocus(LocalFrame& frame) {
->showVirtualKeyboardOnElementFocus();
}
+void ChromeClientImpl::updateCompositionInfo(LocalFrame* frame,
+ bool immediateRequest) {
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
+ WebFrameWidgetBase* widget = webFrame->localRoot()->frameWidget();
+ WebWidgetClient* client = widget->client();
+ if (!client)
+ return;
+ client->updateCompositionInfo(immediateRequest);
+}
+
void ChromeClientImpl::showUnhandledTapUIIfNeeded(
IntPoint tappedPositionInViewport,
Node* tappedNode,
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/CompositionUnderlineBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698