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:
@ -239,9 +239,11 @@ class CefBrowserPlatformDelegate {
|
||||
virtual void SizeTo(int width, int height);
|
||||
#endif
|
||||
|
||||
// Convert from view coordinates to screen coordinates. Potential display
|
||||
// scaling will be applied to the result.
|
||||
virtual gfx::Point GetScreenPoint(const gfx::Point& view) const;
|
||||
// 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 GetScreenPoint(const gfx::Point& view,
|
||||
bool want_dip_coords) const;
|
||||
|
||||
// Open the specified text in the default text editor.
|
||||
virtual void ViewText(const std::string& text);
|
||||
|
Reference in New Issue
Block a user