chromium/ui/webui/examples/browser/ui/web/browser_page_handler.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 "ui/webui/examples/browser/ui/web/browser_page_handler.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "components/guest_view/browser/guest_view_manager.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/render_process_host.h"
#include "ui/webui/examples/browser/ui/web/guest_view_manager_delegate.h"
#include "ui/webui/examples/browser/ui/web/web_view.h"

namespace webui_examples {

BrowserPageHandler::~BrowserPageHandler() = default;

// static
void BrowserPageHandler::CreateForRenderFrameHost(
    content::RenderFrameHost& render_frame_host,
    mojo::PendingReceiver<webui_examples::mojom::PageHandler> receiver) {}

void BrowserPageHandler::CreateGuestView(base::Value::Dict create_params,
                                         CreateGuestViewCallback callback) {}

void BrowserPageHandler::Navigate(int32_t guest_instance_id, const GURL& src) {}

void BrowserPageHandler::GoBack(int32_t guest_instance_id) {}

void BrowserPageHandler::GoForward(int32_t guest_instance_id) {}

BrowserPageHandler::BrowserPageHandler(
    content::RenderFrameHost& render_frame_host,
    mojo::PendingReceiver<webui_examples::mojom::PageHandler> receiver)
    :{}

}  // namespace webui_examples