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:
@ -18,8 +18,11 @@ class CefBrowserPlatformDelegateNative
|
||||
// Returns the parent window handle.
|
||||
virtual CefWindowHandle GetParentWindowHandle() const = 0;
|
||||
|
||||
// Convert from view coordinates to screen coordinates.
|
||||
virtual gfx::Point GetParentScreenPoint(const gfx::Point& view) const = 0;
|
||||
// Convert from view DIP coordinates to screen coordinates. If
|
||||
// |want_dip_coords| is true return DIP instead of device (pixel)
|
||||
// coordinates on Windows/Linux.
|
||||
virtual gfx::Point GetParentScreenPoint(const gfx::Point& view,
|
||||
bool want_dip_coords) const = 0;
|
||||
|
||||
protected:
|
||||
virtual ~WindowlessHandler() {}
|
||||
|
Reference in New Issue
Block a user