🏁 Add API to forward mouse messages.

As opposed to the existing setIgnoreMouseEvents this call makes Chromium aware of mouse movements, allowing the user to stop forwarding according to movements in the webpage.
This commit is contained in:
Andreas Flöjt 2017-08-02 21:16:37 +02:00
parent 5e06ac11e9
commit a84fa0eecb
6 changed files with 111 additions and 0 deletions

View file

@ -152,6 +152,9 @@ class NativeWindow : public base::SupportsUserData,
virtual gfx::NativeView GetNativeView() const = 0;
virtual gfx::NativeWindow GetNativeWindow() const = 0;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() const = 0;
#if defined(OS_WIN)
virtual void SetForwardMouseMessages(bool forward) = 0;
#endif
// Taskbar/Dock APIs.
enum ProgressState {