chromium/chrome/browser/ui/webui/side_panel/companion/companion_side_panel_untrusted_ui.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/ui/webui/side_panel/companion/companion_side_panel_untrusted_ui.h"

#include "chrome/browser/companion/core/utils.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/views/side_panel/companion/companion_side_panel_controller_utils.h"
#include "chrome/browser/ui/views/side_panel/companion/companion_utils.h"
#include "chrome/browser/ui/webui/side_panel/companion/companion_page_handler.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "chrome/grit/side_panel_companion_resources.h"
#include "chrome/grit/side_panel_companion_resources_map.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#include "url/gurl.h"

CompanionSidePanelUntrustedUI::CompanionSidePanelUntrustedUI(
    content::WebUI* web_ui)
    :{}

CompanionSidePanelUntrustedUI::~CompanionSidePanelUntrustedUI() = default;

void CompanionSidePanelUntrustedUI::BindInterface(
    mojo::PendingReceiver<side_panel::mojom::CompanionPageHandlerFactory>
        receiver) {}

void CompanionSidePanelUntrustedUI::CreateCompanionPageHandler(
    mojo::PendingReceiver<side_panel::mojom::CompanionPageHandler> receiver,
    mojo::PendingRemote<side_panel::mojom::CompanionPage> page) {}

void CompanionSidePanelUntrustedUI::DidFinishNavigation(
    content::NavigationHandle* navigation_handle) {}

base::WeakPtr<CompanionSidePanelUntrustedUI>
CompanionSidePanelUntrustedUI::GetWeakPtr() {}

CompanionSidePanelUntrustedUIConfig::CompanionSidePanelUntrustedUIConfig()
    :{}

bool CompanionSidePanelUntrustedUIConfig::IsWebUIEnabled(
    content::BrowserContext* browser_context) {}

WEB_UI_CONTROLLER_TYPE_IMPL(CompanionSidePanelUntrustedUI)