diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/ui/aura/window_tree_host.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/aura/window_tree_host.h')
-rw-r--r-- | chromium/ui/aura/window_tree_host.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chromium/ui/aura/window_tree_host.h b/chromium/ui/aura/window_tree_host.h index af78e44ce00..e00fb7b60ba 100644 --- a/chromium/ui/aura/window_tree_host.h +++ b/chromium/ui/aura/window_tree_host.h @@ -16,7 +16,6 @@ #include "base/memory/weak_ptr.h" #include "base/observer_list.h" #include "base/optional.h" -#include "base/time/time.h" #include "build/build_config.h" #include "components/viz/common/surfaces/frame_sink_id.h" #include "ui/aura/aura_export.h" @@ -248,7 +247,10 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate, // Requests using unadjusted movement mouse events, i.e. WM_INPUT on Windows. // Returns a ScopedEnableUnadjustedMouseEvents instance which stops using // unadjusted mouse events when destroyed, returns nullptr if unadjusted mouse - // event is not not implemented or failed. + // event is not not implemented or failed. On some platforms this function may + // temporarily affect the global state of mouse settings. This function is + // currently only intended to be used with PointerLock as it is not set up for + // multiple calls. virtual std::unique_ptr<ScopedEnableUnadjustedMouseEvents> RequestUnadjustedMovement(); @@ -380,9 +382,6 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate, // Whether the InputMethod instance is owned by this WindowTreeHost. bool owned_input_method_; - // Set to the time the synchronization event began. - base::TimeTicks synchronization_start_time_; - // Set to true if this WindowTreeHost is currently holding pointer moves. bool holding_pointer_moves_ = false; |