forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathshell_delegate.cc
43 lines (32 loc) · 988 Bytes
/
shell_delegate.cc
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
// 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);
}
} // namespace ash