Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / ui / aura / test / window_test_api.h
blob16a38ccf4a9cfa3a386d17945c89ba49716c082e
1 // Copyright 2013 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 #ifndef UI_AURA_TEST_WINDOW_TEST_API_H_
6 #define UI_AURA_TEST_WINDOW_TEST_API_H_
8 #include "base/basictypes.h"
10 namespace aura {
12 class Window;
14 namespace test {
16 class WindowTestApi {
17 public:
18 explicit WindowTestApi(Window* window);
20 bool OwnsLayer() const;
22 bool ContainsMouse() const;
24 private:
25 Window* window_;
27 DISALLOW_COPY_AND_ASSIGN(WindowTestApi);
30 } // namespace test
31 } // namespace aura
33 #endif // UI_AURA_TEST_WINDOW_TEST_API_H_