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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool OnWmSetProperty( | 98 bool OnWmSetProperty( |
99 Window* window, | 99 Window* window, |
100 const std::string& name, | 100 const std::string& name, |
101 std::unique_ptr<std::vector<uint8_t>>* new_data) override; | 101 std::unique_ptr<std::vector<uint8_t>>* new_data) override; |
102 Window* OnWmCreateTopLevelWindow( | 102 Window* OnWmCreateTopLevelWindow( |
103 std::map<std::string, std::vector<uint8_t>>* properties) override; | 103 std::map<std::string, std::vector<uint8_t>>* properties) override; |
104 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, | 104 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, |
105 bool janky) override; | 105 bool janky) override; |
106 void OnWmNewDisplay(std::unique_ptr<WindowTreeHostMus> window_tree_host, | 106 void OnWmNewDisplay(std::unique_ptr<WindowTreeHostMus> window_tree_host, |
107 const display::Display& display) override; | 107 const display::Display& display) override; |
108 void OnWmDisplayRemoved(Window* window) override; | 108 void OnWmDisplayRemoved(WindowTreeHostMus* window_tree_host) override; |
109 void OnWmDisplayModified(const display::Display& display) override; | 109 void OnWmDisplayModified(const display::Display& display) override; |
110 ui::mojom::EventResult OnAccelerator(uint32_t id, | 110 ui::mojom::EventResult OnAccelerator(uint32_t id, |
111 const ui::Event& event) override; | 111 const ui::Event& event) override; |
112 void OnWmPerformMoveLoop(Window* window, | 112 void OnWmPerformMoveLoop(Window* window, |
113 ui::mojom::MoveLoopSource source, | 113 ui::mojom::MoveLoopSource source, |
114 const gfx::Point& cursor_location, | 114 const gfx::Point& cursor_location, |
115 const base::Callback<void(bool)>& on_done) override; | 115 const base::Callback<void(bool)>& on_done) override; |
116 void OnWmCancelMoveLoop(Window* window) override; | 116 void OnWmCancelMoveLoop(Window* window) override; |
117 client::CaptureClient* GetCaptureClient() override; | 117 client::CaptureClient* GetCaptureClient() override; |
118 PropertyConverter* GetPropertyConverter() override; | 118 PropertyConverter* GetPropertyConverter() override; |
(...skipping 27 matching lines...) Expand all Loading... |
146 private: | 146 private: |
147 bool setup_called_ = false; | 147 bool setup_called_ = false; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); | 149 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace test | 152 } // namespace test |
153 } // namespace aura | 153 } // namespace aura |
154 | 154 |
155 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ | 155 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ |
OLD | NEW |