chromium/content/public/test/mock_captured_surface_controller.cc

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

#include "content/public/test/mock_captured_surface_controller.h"

#include "content/browser/media/captured_surface_control_permission_manager.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom.h"

namespace content {

MockCapturedSurfaceController::MockCapturedSurfaceController(
    GlobalRenderFrameHostId capturer_rfh_id,
    WebContentsMediaCaptureId captured_wc_id)
    :{}

MockCapturedSurfaceController::~MockCapturedSurfaceController() = default;

void MockCapturedSurfaceController::SetSendWheelResponse(
    blink::mojom::CapturedSurfaceControlResult send_wheel_result) {}

void MockCapturedSurfaceController::SendWheel(
    blink::mojom::CapturedWheelActionPtr action,
    base::OnceCallback<void(blink::mojom::CapturedSurfaceControlResult)>
        reply_callback) {}

void MockCapturedSurfaceController::SetGetZoomLevelResponse(
    std::optional<int> get_zoom_level_value,
    blink::mojom::CapturedSurfaceControlResult get_zoom_level_result) {}

void MockCapturedSurfaceController::SetSetZoomLevelResponse(
    blink::mojom::CapturedSurfaceControlResult set_zoom_level_result) {}

void MockCapturedSurfaceController::SetZoomLevel(
    int zoom_level,
    base::OnceCallback<void(blink::mojom::CapturedSurfaceControlResult)>
        reply_callback) {}

void MockCapturedSurfaceController::SetRequestPermissionResponse(
    blink::mojom::CapturedSurfaceControlResult request_permission_result) {}

void MockCapturedSurfaceController::RequestPermission(
    base::OnceCallback<void(blink::mojom::CapturedSurfaceControlResult)>
        reply_callback) {}

}  // namespace content