Home | History | Annotate | Download | only in test
      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.
      4 
      5 #ifndef UI_AURA_TEST_WINDOW_TEST_API_H_
      6 #define UI_AURA_TEST_WINDOW_TEST_API_H_
      7 
      8 #include "base/basictypes.h"
      9 
     10 namespace aura {
     11 
     12 class Window;
     13 
     14 namespace test {
     15 
     16 class WindowTestApi {
     17  public:
     18   explicit WindowTestApi(Window* window);
     19 
     20   bool OwnsLayer() const;
     21 
     22   bool ContainsMouse() const;
     23 
     24  private:
     25   Window* window_;
     26 
     27   DISALLOW_COPY_AND_ASSIGN(WindowTestApi);
     28 };
     29 
     30 }  // namespace test
     31 }  // namespace aura
     32 
     33 #endif  // UI_AURA_TEST_WINDOW_TEST_API_H_
     34