blob: cb82bd12004d32aa4c2f60de0b14e7788c6f6b0e [file] [log] [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);
}
} // namespace ash