mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Rename SendFocusEvent to SetFocus (fixes issue #866)
Also removes CefBrowserHost::SendFocusEvent. Use the existing SetFocus method instead.
This commit is contained in:
@@ -161,10 +161,10 @@ void CefBrowserPlatformDelegateOsr::SendTouchEvent(const CefTouchEvent& event) {
|
||||
view->SendTouchEvent(event);
|
||||
}
|
||||
|
||||
void CefBrowserPlatformDelegateOsr::SendFocusEvent(bool setFocus) {
|
||||
void CefBrowserPlatformDelegateOsr::SetFocus(bool setFocus) {
|
||||
CefRenderWidgetHostViewOSR* view = GetOSRHostView();
|
||||
if (view)
|
||||
view->SendFocusEvent(setFocus);
|
||||
view->SetFocus(setFocus);
|
||||
}
|
||||
|
||||
gfx::Point CefBrowserPlatformDelegateOsr::GetScreenPoint(
|
||||
|
Reference in New Issue
Block a user