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:
@@ -68,8 +68,8 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
}
|
||||
|
||||
///
|
||||
// Called to retrieve the root window rectangle in screen coordinates. Return
|
||||
// true if the rectangle was provided. If this method returns false the
|
||||
// Called to retrieve the root window rectangle in screen DIP coordinates.
|
||||
// Return true if the rectangle was provided. If this method returns false the
|
||||
// rectangle from GetViewRect will be used.
|
||||
///
|
||||
/*--cef()--*/
|
||||
@@ -78,15 +78,17 @@ class CefRenderHandler : public virtual CefBaseRefCounted {
|
||||
}
|
||||
|
||||
///
|
||||
// Called to retrieve the view rectangle which is relative to screen
|
||||
// coordinates. This method must always provide a non-empty rectangle.
|
||||
// Called to retrieve the view rectangle in screen DIP coordinates. This
|
||||
// method must always provide a non-empty rectangle.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void GetViewRect(CefRefPtr<CefBrowser> browser, CefRect& rect) = 0;
|
||||
|
||||
///
|
||||
// Called to retrieve the translation from view coordinates to actual screen
|
||||
// coordinates. Return true if the screen coordinates were provided.
|
||||
// Called to retrieve the translation from view DIP coordinates to screen
|
||||
// coordinates. Windows/Linux should provide screen device (pixel) coordinates
|
||||
// and MacOS should provide screen DIP coordinates. Return true if the
|
||||
// requested coordinates were provided.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool GetScreenPoint(CefRefPtr<CefBrowser> browser,
|
||||
|
Reference in New Issue
Block a user