mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix delivery of focus/blur events (issue #1301).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1717 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -87,7 +87,7 @@ void CefBrowserHostCToCpp::CloseBrowser(bool force_close) {
|
||||
force_close);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::SetFocus(bool enable) {
|
||||
void CefBrowserHostCToCpp::SetFocus(bool focus) {
|
||||
if (CEF_MEMBER_MISSING(struct_, set_focus))
|
||||
return;
|
||||
|
||||
@@ -95,7 +95,18 @@ void CefBrowserHostCToCpp::SetFocus(bool enable) {
|
||||
|
||||
// Execute
|
||||
struct_->set_focus(struct_,
|
||||
enable);
|
||||
focus);
|
||||
}
|
||||
|
||||
void CefBrowserHostCToCpp::SetWindowVisibility(bool visible) {
|
||||
if (CEF_MEMBER_MISSING(struct_, set_window_visibility))
|
||||
return;
|
||||
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
|
||||
// Execute
|
||||
struct_->set_window_visibility(struct_,
|
||||
visible);
|
||||
}
|
||||
|
||||
CefWindowHandle CefBrowserHostCToCpp::GetWindowHandle() {
|
||||
|
Reference in New Issue
Block a user