blob: 2bf0f7afb82daf0b51a0d2fcd6052be9673fdd97 [file] [log] [blame]
danakj8de3b7492020-07-02 22:41:421// Copyright 2020 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/shell/browser/shell_platform_delegate.h"
6
7#include "content/public/browser/javascript_dialog_manager.h"
Dave Tapuskab4998782020-10-08 17:22:478#include "content/public/browser/web_contents.h"
danakj8de3b7492020-07-02 22:41:429
10namespace content {
11
12void ShellPlatformDelegate::DidCreateOrAttachWebContents(
13 Shell* shell,
14 WebContents* web_contents) {}
15
16std::unique_ptr<JavaScriptDialogManager>
17ShellPlatformDelegate::CreateJavaScriptDialogManager(Shell* shell) {
18 return nullptr;
19}
20
21std::unique_ptr<BluetoothChooser> ShellPlatformDelegate::RunBluetoothChooser(
22 Shell* shell,
23 RenderFrameHost* frame,
24 const BluetoothChooser::EventHandler& event_handler) {
25 return nullptr;
26}
27
Dave Tapuskab4998782020-10-08 17:22:4728bool ShellPlatformDelegate::HandleRequestToLockMouse(
29 Shell* shell,
30 WebContents* web_contents,
31 bool user_gesture,
32 bool last_unlocked_by_target) {
33 return false;
34}
35
danakj8de3b7492020-07-02 22:41:4236bool ShellPlatformDelegate::ShouldAllowRunningInsecureContent(Shell* shell) {
37 return false;
38}
39
40} // namespace content