[M108 Migration][Callback] Bring up ewk callbacks which are related with page loading
[platform/framework/web/chromium-efl.git] / ash / shell_delegate.cc
1 // Copyright 2019 The Chromium Authors
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 "ash/shell_delegate.h"
6
7 namespace ash {
8
9 bool ShellDelegate::AllowDefaultTouchActions(gfx::NativeWindow window) {
10   return true;
11 }
12
13 bool ShellDelegate::ShouldWaitForTouchPressAck(gfx::NativeWindow window) {
14   return false;
15 }
16
17 bool ShellDelegate::IsTabDrag(const ui::OSExchangeData& drop_data) {
18   return false;
19 }
20
21 media_session::MediaSessionService* ShellDelegate::GetMediaSessionService() {
22   return nullptr;
23 }
24
25 bool ShellDelegate::IsUiDevToolsStarted() const {
26   return false;
27 }
28
29 int ShellDelegate::GetUiDevToolsPort() const {
30   return -1;
31 }
32
33 const GURL& ShellDelegate::GetLastCommittedURLForWindowIfAny(
34     aura::Window* window) {
35   return GURL::EmptyGURL();
36 }
37
38 void ShellDelegate::ShouldExitFullscreenBeforeLock(
39     ShellDelegate::ShouldExitFullscreenCallback callback) {
40   std::move(callback).Run(false);
41 }
42
43 }  // namespace ash