OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "components/mus/public/cpp/lib/window_private.h" |
| 10 #include "components/mus/public/cpp/window.h" |
| 11 |
| 12 namespace mus { |
| 13 |
| 14 // Subclass with public ctor/dtor. |
| 15 class TestWindow : public Window { |
| 16 public: |
| 17 TestWindow() { WindowPrivate(this).set_id(1); } |
| 18 ~TestWindow() {} |
| 19 |
| 20 private: |
| 21 MOJO_DISALLOW_COPY_AND_ASSIGN(TestWindow); |
| 22 }; |
| 23 |
| 24 } // namespace mus |
| 25 |
| 26 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_TEST_WINDOW_H_ |
OLD | NEW |