| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(Window* root) 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 void OnWmSetBounds(Window* window, const 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, |
| 104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
| 105 Window* OnWmCreateTopLevelWindow( | 105 Window* OnWmCreateTopLevelWindow( |
| 106 ui::mojom::WindowType window_type, | 106 ui::mojom::WindowType window_type, |
| 107 std::map<std::string, std::vector<uint8_t>>* properties) override; | 107 std::map<std::string, std::vector<uint8_t>>* properties) override; |
| 108 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, | 108 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, |
| 109 bool janky) override; | 109 bool janky) override; |
| 110 void OnWmWillCreateDisplay(const display::Display& display) override; | 110 void OnWmWillCreateDisplay(const display::Display& display) override; |
| (...skipping 44 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 |