alloy: Use Views context menus on Windows/Linux (fixes issue #3330)

This commit is contained in:
Marshall Greenblatt
2022-05-13 14:38:41 +03:00
parent 2dcee2ccfc
commit 7a372a642b
41 changed files with 475 additions and 1418 deletions

View File

@@ -35,14 +35,16 @@ class CefBrowserPlatformDelegateChrome
void SendMouseWheelEvent(const CefMouseEvent& event,
int deltaX,
int deltaY) override;
gfx::Point GetScreenPoint(const gfx::Point& view) const override;
gfx::Point GetScreenPoint(const gfx::Point& view,
bool want_dip_coords) const override;
void ViewText(const std::string& text) override;
CefEventHandle GetEventHandle(
const content::NativeWebKeyboardEvent& event) const override;
// CefBrowserPlatformDelegateNative::WindowlessHandler methods:
CefWindowHandle GetParentWindowHandle() const override;
gfx::Point GetParentScreenPoint(const gfx::Point& view) const override;
gfx::Point GetParentScreenPoint(const gfx::Point& view,
bool want_dip_coords) const override;
void set_chrome_browser(Browser* browser);