| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 6 #define COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // testing::Test: | 62 // testing::Test: |
| 63 void SetUp() override; | 63 void SetUp() override; |
| 64 | 64 |
| 65 // WindowServerShellTestBase: | 65 // WindowServerShellTestBase: |
| 66 bool AcceptConnection(shell::Connection* connection) override; | 66 bool AcceptConnection(shell::Connection* connection) override; |
| 67 | 67 |
| 68 // WindowTreeDelegate: | 68 // WindowTreeDelegate: |
| 69 void OnEmbed(Window* root) override; | 69 void OnEmbed(Window* root) override; |
| 70 void OnConnectionLost(WindowTreeConnection* connection) override; | 70 void OnConnectionLost(WindowTreeConnection* connection) override; |
| 71 void OnEventObserved(const ui::Event& event) override; |
| 71 | 72 |
| 72 // WindowManagerDelegate: | 73 // WindowManagerDelegate: |
| 73 void SetWindowManagerClient(WindowManagerClient* client) override; | 74 void SetWindowManagerClient(WindowManagerClient* client) override; |
| 74 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; | 75 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; |
| 75 bool OnWmSetProperty( | 76 bool OnWmSetProperty( |
| 76 Window* window, | 77 Window* window, |
| 77 const std::string& name, | 78 const std::string& name, |
| 78 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 79 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 79 Window* OnWmCreateTopLevelWindow( | 80 Window* OnWmCreateTopLevelWindow( |
| 80 std::map<std::string, std::vector<uint8_t>>* properties) override; | 81 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 102 WindowManagerClient* window_manager_client_; | 103 WindowManagerClient* window_manager_client_; |
| 103 | 104 |
| 104 bool window_tree_connection_destroyed_; | 105 bool window_tree_connection_destroyed_; |
| 105 | 106 |
| 106 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); | 107 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 } // namespace mus | 110 } // namespace mus |
| 110 | 111 |
| 111 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 112 #endif // COMPONENTS_MUS_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| OLD | NEW |