Index: components/mus/public/cpp/tests/test_window.h |
diff --git a/components/mus/public/cpp/tests/test_window.h b/components/mus/public/cpp/tests/test_window.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a7b458d6eee10345630b647510bd430a7f8288e9 |
--- /dev/null |
+++ b/components/mus/public/cpp/tests/test_window.h |
@@ -0,0 +1,26 @@ |
+// Copyright 2015 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 COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |
+#define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |
+ |
+#include "base/macros.h" |
+#include "components/mus/public/cpp/lib/window_private.h" |
+#include "components/mus/public/cpp/window.h" |
+ |
+namespace mus { |
+ |
+// Subclass with public ctor/dtor. |
+class TestWindow : public Window { |
+ public: |
+ TestWindow() { WindowPrivate(this).set_id(1); } |
+ ~TestWindow() {} |
+ |
+ private: |
+ MOJO_DISALLOW_COPY_AND_ASSIGN(TestWindow); |
+}; |
+ |
+} // namespace mus |
+ |
+#endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |