| 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 SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 // WindowTreeClientDelegate: | 68 // WindowTreeClientDelegate: |
| 69 void OnEmbed(Window* root) override; | 69 void OnEmbed(Window* root) override; |
| 70 void OnLostConnection(WindowTreeClient* client) override; | 70 void OnLostConnection(WindowTreeClient* client) override; |
| 71 void OnEmbedRootDestroyed(Window* root) override; | 71 void OnEmbedRootDestroyed(Window* root) override; |
| 72 void OnPointerEventObserved(const ui::PointerEvent& event, | 72 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 73 Window* target) override; | 73 Window* target) override; |
| 74 | 74 |
| 75 // WindowManagerDelegate: | 75 // WindowManagerDelegate: |
| 76 void SetWindowManagerClient(WindowManagerClient* client) override; | 76 void SetWindowManagerClient(WindowManagerClient* client) override; |
| 77 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; | 77 void OnWmSetBounds(Window* window, const gfx::Rect& bounds) override; |
| 78 bool OnWmSetProperty( | 78 bool OnWmSetProperty( |
| 79 Window* window, | 79 Window* window, |
| 80 const std::string& name, | 80 const std::string& name, |
| 81 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 81 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 82 Window* OnWmCreateTopLevelWindow( | 82 Window* OnWmCreateTopLevelWindow( |
| 83 std::map<std::string, std::vector<uint8_t>>* properties) override; | 83 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 84 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, | 84 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, |
| 85 bool not_responding) override; | 85 bool not_responding) override; |
| 86 void OnWmNewDisplay(Window* window, const display::Display& display) override; | 86 void OnWmNewDisplay(Window* window, const display::Display& display) override; |
| 87 void OnWmDisplayRemoved(Window* window) override; | 87 void OnWmDisplayRemoved(Window* window) override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 115 display::test::TestScreen test_screen_; | 115 display::test::TestScreen test_screen_; |
| 116 | 116 |
| 117 bool window_tree_client_lost_connection_ = false; | 117 bool window_tree_client_lost_connection_ = false; |
| 118 | 118 |
| 119 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); | 119 DISALLOW_COPY_AND_ASSIGN(WindowServerTestBase); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace ui | 122 } // namespace ui |
| 123 | 123 |
| 124 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ | 124 #endif // SERVICES_UI_PUBLIC_CPP_TESTS_WINDOW_SERVER_TEST_BASE_H_ |
| OLD | NEW |