12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // Copyright 2019 The Chromium Authors. All rights reserved.
- // 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
|