// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_COMMON_CURSORS_WEBCURSOR_H_ #define CONTENT_COMMON_CURSORS_WEBCURSOR_H_ #include "build/build_config.h" #include "content/common/content_export.h" #include "ui/base/cursor/cursor.h" #include "ui/display/display.h" #include "ui/gfx/geometry/point.h" #include "ui/gfx/geometry/size.h" #include "ui/gfx/native_widget_types.h" #if defined(USE_AURA) #include <optional> #endif namespace content { // NOTE(https://crbug.com/1149906): This class is deprecated and ui::Cursor // should be used instead. // // This class encapsulates a cross-platform description of a cursor. Platform // specific methods are provided to translate the cross-platform cursor into a // platform specific cursor. It is also possible to serialize / de-serialize a // WebCursor. This class is highly similar to ui::Cursor. class CONTENT_EXPORT WebCursor { … }; } // namespace content #endif // CONTENT_COMMON_CURSORS_WEBCURSOR_H_