| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_AURA_TEST_AURA_TEST_BASE_H_ | 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_ |
| 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ | 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 TestWindowTree* window_tree() { return helper_->window_tree(); } | 84 TestWindowTree* window_tree() { return helper_->window_tree(); } |
| 85 WindowTreeClient* window_tree_client_impl() { | 85 WindowTreeClient* window_tree_client_impl() { |
| 86 return helper_->window_tree_client(); | 86 return helper_->window_tree_client(); |
| 87 } | 87 } |
| 88 ui::mojom::WindowTreeClient* window_tree_client(); | 88 ui::mojom::WindowTreeClient* window_tree_client(); |
| 89 | 89 |
| 90 // WindowTreeClientDelegate: | 90 // WindowTreeClientDelegate: |
| 91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override; | 91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override; |
| 92 void OnUnembed(Window* root) override; | 92 void OnUnembed(Window* root) override; |
| 93 void OnEmbedRootDestroyed(Window* root) override; | 93 void OnEmbedRootDestroyed(WindowTreeHostMus* window_tree_host) override; |
| 94 void OnLostConnection(WindowTreeClient* client) override; | 94 void OnLostConnection(WindowTreeClient* client) override; |
| 95 void OnPointerEventObserved(const ui::PointerEvent& event, | 95 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 96 Window* target) override; | 96 Window* target) override; |
| 97 | 97 |
| 98 // WindowManagerDelegate: | 98 // WindowManagerDelegate: |
| 99 void SetWindowManagerClient(WindowManagerClient* client) override; | 99 void SetWindowManagerClient(WindowManagerClient* client) override; |
| 100 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; | 100 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; |
| 101 bool OnWmSetProperty( | 101 bool OnWmSetProperty( |
| 102 Window* window, | 102 Window* window, |
| 103 const std::string& name, | 103 const std::string& name, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 private: | 155 private: |
| 156 bool setup_called_ = false; | 156 bool setup_called_ = false; |
| 157 | 157 |
| 158 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); | 158 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 } // namespace test | 161 } // namespace test |
| 162 } // namespace aura | 162 } // namespace aura |
| 163 | 163 |
| 164 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ | 164 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ |
| OLD | NEW |