mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Mac: Add IME support with off-screen rendering (issue #973).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1259 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
		@@ -452,6 +452,27 @@ class CefBrowserHost : public virtual CefBase {
 | 
			
		||||
  ///
 | 
			
		||||
  /*--cef()--*/
 | 
			
		||||
  virtual void SendCaptureLostEvent() =0;
 | 
			
		||||
 | 
			
		||||
  ///
 | 
			
		||||
  // Get the NSTextInputContext implementation for enabling IME on Mac when
 | 
			
		||||
  // window rendering is disabled.
 | 
			
		||||
  ///
 | 
			
		||||
  /*--cef(default_retval=NULL)--*/
 | 
			
		||||
  virtual CefTextInputContext GetNSTextInputContext() =0;
 | 
			
		||||
 | 
			
		||||
  ///
 | 
			
		||||
  // Handles a keyDown event prior to passing it through the NSTextInputClient
 | 
			
		||||
  // machinery.
 | 
			
		||||
  ///
 | 
			
		||||
  /*--cef()--*/
 | 
			
		||||
  virtual void HandleKeyEventBeforeTextInputClient(CefEventHandle keyEvent) =0;
 | 
			
		||||
 | 
			
		||||
  ///
 | 
			
		||||
  // Performs any additional actions after NSTextInputClient handles the event.
 | 
			
		||||
  ///
 | 
			
		||||
  /*--cef()--*/
 | 
			
		||||
  virtual void HandleKeyEventAfterTextInputClient(CefEventHandle keyEvent) =0;
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif  // CEF_INCLUDE_CEF_BROWSER_H_
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user