fix: ensure context-menu
emitted for draggable regions (#44761)
* fix: ensure context-menu emitted for draggable regions * chore: address suggestions from review
This commit is contained in:
parent
4fd1b5b186
commit
86e4529d26
6 changed files with 84 additions and 21 deletions
|
@ -23,7 +23,8 @@ class DelayedNativeViewHost : public views::NativeViewHost {
|
|||
// views::View:
|
||||
void ViewHierarchyChanged(
|
||||
const views::ViewHierarchyChangedDetails& details) override;
|
||||
bool OnMousePressed(const ui::MouseEvent& event) override;
|
||||
|
||||
gfx::NativeView GetNativeView() { return native_view_; }
|
||||
|
||||
private:
|
||||
gfx::NativeView native_view_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue