Bug 1744524: part 2) Add `WindowContext::GetUserGestureStart` and remove `WindowConte...
commitb90b8d0110082ec5f518bb710b6845b792586a3b
authorMirko Brodesser <mbrodesser@mozilla.com>
Thu, 16 Jun 2022 14:43:40 +0000 (16 14:43 +0000)
committerMirko Brodesser <mbrodesser@mozilla.com>
Thu, 16 Jun 2022 14:43:40 +0000 (16 14:43 +0000)
tree5c888c41a09c36799ebf1d9e028dc938f7852202
parent8d922ea417981a03bc60154e4cfccdfdb14d7714
Bug 1744524: part 2) Add `WindowContext::GetUserGestureStart` and remove `WindowContext::LastUserGestureTimeStamp`. r=edgar

Preparation for part 3).

The return type of `GetUserGestureStart` is a class, the return type of
`LastUserGestureTimeStamp` a `double`. Hence using the former is safer.

Differential Revision: https://phabricator.services.mozilla.com/D148758
docshell/base/WindowContext.cpp
docshell/base/WindowContext.h
dom/base/Document.cpp