mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
alloy: Use Views context menus on Windows/Linux (fixes issue #3330)
This commit is contained in:
@ -82,7 +82,8 @@ void CefBrowserPlatformDelegateBackground::SetFocus(bool setFocus) {
|
||||
}
|
||||
|
||||
gfx::Point CefBrowserPlatformDelegateBackground::GetScreenPoint(
|
||||
const gfx::Point& view_pt) const {
|
||||
const gfx::Point& view_pt,
|
||||
bool want_dip_coords) const {
|
||||
// Nothing to do here.
|
||||
return view_pt;
|
||||
}
|
||||
@ -119,6 +120,7 @@ CefWindowHandle CefBrowserPlatformDelegateBackground::GetParentWindowHandle()
|
||||
}
|
||||
|
||||
gfx::Point CefBrowserPlatformDelegateBackground::GetParentScreenPoint(
|
||||
const gfx::Point& view) const {
|
||||
return GetScreenPoint(view);
|
||||
const gfx::Point& view,
|
||||
bool want_dip_coords) const {
|
||||
return GetScreenPoint(view, want_dip_coords);
|
||||
}
|
||||
|
Reference in New Issue
Block a user