1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ash / shell_delegate.cc [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/shell_delegate.h"
namespace ash {
bool ShellDelegate::AllowDefaultTouchActions(gfx::NativeWindow window) {
return true;
}
bool ShellDelegate::ShouldWaitForTouchPressAck(gfx::NativeWindow window) {
return false;
}
bool ShellDelegate::IsTabDrag(const ui::OSExchangeData& drop_data) {
return false;
}
media_session::MediaSessionService* ShellDelegate::GetMediaSessionService() {
return nullptr;
}
bool ShellDelegate::IsUiDevToolsStarted() const {
return false;
}
int ShellDelegate::GetUiDevToolsPort() const {
return -1;
}
const GURL& ShellDelegate::GetLastCommittedURLForWindowIfAny(
aura::Window* window) {
return GURL::EmptyGURL();
}
void ShellDelegate::ShouldExitFullscreenBeforeLock(
ShellDelegate::ShouldExitFullscreenCallback callback) {
std::move(callback).Run(false);
}
DeskProfilesDelegate* ShellDelegate::GetDeskProfilesDelegate() {
return nullptr;
}
bool ShellDelegate::IsNoFirstRunSwitchOn() const {
return false;
}
} // namespace ash