зеркало из https://github.com/electron/electron.git
Rename CompositionUnderline to ImeTextSpan
https://chromium-review.googlesource.com/609524
This commit is contained in:
Родитель
024f84f1be
Коммит
b02edd014a
|
@ -20,6 +20,7 @@
|
|||
#include "third_party/WebKit/public/platform/WebCache.h"
|
||||
#include "third_party/WebKit/public/web/WebDocument.h"
|
||||
#include "third_party/WebKit/public/web/WebFrameWidget.h"
|
||||
#include "third_party/WebKit/public/web/WebImeTextSpan.h"
|
||||
#include "third_party/WebKit/public/web/WebInputMethodController.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
#include "third_party/WebKit/public/web/WebScriptExecutionCallback.h"
|
||||
|
@ -263,7 +264,7 @@ void WebFrame::InsertText(const std::string& text) {
|
|||
web_frame_->FrameWidget()
|
||||
->GetActiveWebInputMethodController()
|
||||
->CommitText(blink::WebString::FromUTF8(text),
|
||||
blink::WebVector<blink::WebCompositionUnderline>(),
|
||||
blink::WebVector<blink::WebImeTextSpan>(),
|
||||
blink::WebRange(),
|
||||
0);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче