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 9 namespace aura { 10 namespace test { 11 WindowTestApi(Window * window)12WindowTestApi::WindowTestApi(Window* window) : window_(window) { 13 } 14 OwnsLayer() const15bool WindowTestApi::OwnsLayer() const { 16 return window_->OwnsLayer(); 17 } 18 ContainsMouse() const19bool WindowTestApi::ContainsMouse() const { 20 return window_->ContainsMouse(); 21 } 22 23 } // namespace test 24 } // namespace aura 25