mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Do not activate the select list window on Windows (issue #169).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@179 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -506,6 +506,14 @@ void BrowserWebViewDelegate::didBlur() {
|
||||
browser_->UIT_SetFocus(host, false);
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::closeWidgetSoon() {
|
||||
if (this == browser_->UIT_GetWebViewDelegate()) {
|
||||
browser_->UIT_CloseBrowser();
|
||||
} else if (this == browser_->UIT_GetPopupDelegate()) {
|
||||
browser_->UIT_ClosePopupWidget();
|
||||
}
|
||||
}
|
||||
|
||||
WebScreenInfo BrowserWebViewDelegate::screenInfo() {
|
||||
if (WebWidgetHost* host = GetWidgetHost())
|
||||
return host->GetScreenInfo();
|
||||
|
Reference in New Issue
Block a user