Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / aura / test / window_test_api.cc
blob0ea3e18a0a10e261f16221cf78a9ee7eeff833bc
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"
9 namespace aura {
10 namespace test {
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();
23 } // namespace test
24 } // namespace aura