| Index: ui/aura/test/test_window_tree_client.h
|
| diff --git a/ui/aura/test/test_window_tree_client.h b/ui/aura/test/test_window_tree_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7b3c5ee02546c3d62ae0f9def43287382620196e
|
| --- /dev/null
|
| +++ b/ui/aura/test/test_window_tree_client.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_AURA_TEST_TEST_WINDOW_TREE_CLIENT_H_
|
| +#define UI_AURA_TEST_TEST_WINDOW_TREE_CLIENT_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "ui/aura/aura_export.h"
|
| +#include "ui/aura/client/window_tree_client.h"
|
| +
|
| +namespace aura {
|
| +namespace test {
|
| +
|
| +class TestWindowTreeClient : public client::WindowTreeClient {
|
| + public:
|
| + explicit TestWindowTreeClient(Window* root_window);
|
| + virtual ~TestWindowTreeClient();
|
| +
|
| + // Overridden from client::WindowTreeClient:
|
| + virtual Window* GetDefaultParent(Window* context,
|
| + Window* window,
|
| + const gfx::Rect& bounds) OVERRIDE;
|
| + private:
|
| + Window* root_window_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(TestWindowTreeClient);
|
| +};
|
| +
|
| +} // namespace test
|
| +} // namespace aura
|
| +
|
| +#endif // UI_AURA_TEST_TEST_WINDOW_TREE_CLIENT_H_
|
|
|