mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add keyboard and focus notifications (issue #508).
- Add CefDOMNode::IsEditable method. - List interfaces alphabetically in CefClient. - Correct error checking for code and command input. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@680 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -129,11 +129,8 @@ LRESULT CALLBACK CefBrowserHostImpl::WndProc(HWND hwnd, UINT message,
|
||||
return 0;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
if (browser) {
|
||||
content::WebContents* web_contents = browser->GetWebContents();
|
||||
if (web_contents)
|
||||
web_contents->Focus();
|
||||
}
|
||||
if (browser)
|
||||
browser->OnSetFocus(FOCUS_SOURCE_SYSTEM);
|
||||
return 0;
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
|
Reference in New Issue
Block a user