chromium/components/input/cursor_manager.h

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_INPUT_CURSOR_MANAGER_H_
#define COMPONENTS_INPUT_CURSOR_MANAGER_H_

#include <map>
#include <vector>

#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/component_export.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"

namespace input {

class RenderWidgetHostViewInput;

// CursorManager coordinates mouse cursors for multiple RenderWidgetHostViews
// on a single page. It is owned by the top-level RenderWidgetHostView and
// calls back to its DisplayCursor method when the cursor needs to change,
// either because the mouse moved over a different view or because a cursor
// update was received for the current view.
class COMPONENT_EXPORT(INPUT) CursorManager {};

}  // namespace input

#endif  // COMPONENTS_INPUT_CURSOR_MANAGER_H_