chromium/ui/web_dialogs/web_dialog_delegate.cc

// Copyright 2012 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/web_dialogs/web_dialog_delegate.h"

#include <utility>

#include "content/public/browser/web_ui_message_handler.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"

namespace ui {

WebDialogDelegate::WebDialogDelegate() = default;
WebDialogDelegate::~WebDialogDelegate() = default;

mojom::ModalType WebDialogDelegate::GetDialogModalType() const {}

std::u16string WebDialogDelegate::GetDialogTitle() const {}

std::u16string WebDialogDelegate::GetAccessibleDialogTitle() const {}

std::string WebDialogDelegate::GetDialogName() const {}

GURL WebDialogDelegate::GetDialogContentURL() const {}

void WebDialogDelegate::GetWebUIMessageHandlers(
    std::vector<content::WebUIMessageHandler*>* handlers) {}

void WebDialogDelegate::AddWebUIMessageHandler(
    std::unique_ptr<content::WebUIMessageHandler> handler) {}

void WebDialogDelegate::GetDialogSize(gfx::Size* size) const {}

void WebDialogDelegate::GetMinimumDialogSize(gfx::Size* size) const {}

std::string WebDialogDelegate::GetDialogArgs() const {}

bool WebDialogDelegate::CanMaximizeDialog() const {}

bool WebDialogDelegate::OnDialogCloseRequested() {}

bool WebDialogDelegate::ShouldCenterDialogTitleText() const {}

bool WebDialogDelegate::ShouldCloseDialogOnEscape() const {}

bool WebDialogDelegate::ShouldShowCloseButton() const {}

bool WebDialogDelegate::ShouldShowDialogTitle() const {}

void WebDialogDelegate::OnDialogClosed(const std::string& json_retval) {}

void WebDialogDelegate::RegisterOnDialogClosedCallback(
    OnDialogClosedCallback callback) {}

void WebDialogDelegate::OnDialogCloseFromWebUI(
    const std::string& json_retval) {}

void WebDialogDelegate::OnCloseContents(content::WebContents* source,
                                        bool* out_close_dialog) {}

bool WebDialogDelegate::HandleContextMenu(
    content::RenderFrameHost& render_frame_host,
    const content::ContextMenuParams& params) {}

bool WebDialogDelegate::HandleOpenURLFromTab(
    content::WebContents* source,
    const content::OpenURLParams& params,
    base::OnceCallback<void(content::NavigationHandle&)>
        navigation_handle_callback,
    content::WebContents** out_new_contents) {}

bool WebDialogDelegate::HandleShouldOverrideWebContentsCreation() {}

std::vector<Accelerator> WebDialogDelegate::GetAccelerators() {}

bool WebDialogDelegate::AcceleratorPressed(const Accelerator& accelerator) {}

void WebDialogDelegate::RegisterAccelerator(Accelerator accelerator,
                                            AcceleratorHandler handler) {}

bool WebDialogDelegate::CheckMediaAccessPermission(
    content::RenderFrameHost* render_frame_host,
    const url::Origin& security_origin,
    blink::mojom::MediaStreamType type) {}

WebDialogDelegate::FrameKind WebDialogDelegate::GetWebDialogFrameKind() const {}

}  // namespace ui