blob: 48b135991982c566758fc3ee82133748fbbe331d [file] [log] [blame]
// 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 "ui/keyboard/test/test_keyboard_layout_delegate.h"
#include "ui/aura/window.h"
namespace keyboard {
TestKeyboardLayoutDelegate::TestKeyboardLayoutDelegate(
aura::Window* root_window)
: root_window_(root_window) {}
aura::Window* TestKeyboardLayoutDelegate::GetContainerForDefaultDisplay() {
return root_window_;
}
aura::Window* TestKeyboardLayoutDelegate::GetContainerForDisplay(
const display::Display& display) {
return root_window_;
}
} // namespace keyboard