Hi,
I am writing a mac app that uses CEF1's off-screen rendering. At the moment I am forwarding all keyDown and keyUp events from my application to CEF and this works fine for inputting English characters. However it does not work for Chinese input methods where multiple keystrokes need to be registered before it can be passed onto CEF. I see that browser_webview_mac.mm has implemented this functionality using the interface NSTextInputClient protocol, which include methods like insertText and hasMarkedText. I am thinking to forward the events in the protocol like so:
Application View -> CEF integration code -> call insertText on browser_webview. However I am not sure how to call insertText here, as my view is just an ordinary NSView in this case since I am using off-screen rendering. Is the BrowserWebView class only used when off-screen rendering is not used?
Thanks,
Joe