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.
5 #include "ui/aura/test/window_test_api.h"
7 #include "ui/aura/window.h"
12 WindowTestApi::WindowTestApi(Window
* window
) : window_(window
) {
15 bool WindowTestApi::OwnsLayer() const {
16 return window_
->OwnsLayer();
19 bool WindowTestApi::ContainsMouse() const {
20 return window_
->ContainsMouse();