1// Copyright 2012 The Chromium Authors. All rights reserved.
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 "ui/aura/test/window_test_api.h"
6
7#include "ui/aura/window.h"
8
9namespace aura {
10namespace test {
11
12WindowTestApi::WindowTestApi(Window* window) : window_(window) {
13}
14
15bool WindowTestApi::OwnsLayer() const {
16  return window_->OwnsLayer();
17}
18
19bool WindowTestApi::ContainsMouse() const {
20  return window_->ContainsMouse();
21}
22
23}  // namespace test
24}  // namespace aura
25