blob: b0166b0dafec7ef21daaed7b3cf75a2b7743053d [file] [log] [blame]
// Copyright (c) 2012 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/shell_delegate_impl.h"
#include <memory>
#include "ash/accessibility/default_accessibility_delegate.h"
#include "ash/keyboard/test_keyboard_ui.h"
#include "ash/test_screenshot_delegate.h"
namespace ash {
namespace shell {
ShellDelegateImpl::ShellDelegateImpl() = default;
ShellDelegateImpl::~ShellDelegateImpl() = default;
bool ShellDelegateImpl::CanShowWindowForUser(aura::Window* window) const {
return true;
}
std::unique_ptr<keyboard::KeyboardUI> ShellDelegateImpl::CreateKeyboardUI() {
return std::make_unique<TestKeyboardUI>();
}
std::unique_ptr<ash::ScreenshotDelegate>
ShellDelegateImpl::CreateScreenshotDelegate() {
return std::make_unique<TestScreenshotDelegate>();
}
AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() {
return new DefaultAccessibilityDelegate;
}
ws::InputDeviceControllerClient*
ShellDelegateImpl::GetInputDeviceControllerClient() {
return nullptr;
}
} // namespace shell
} // namespace ash