| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_ |
| 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_ |
| 7 |
| 8 #include <cstdint> |
| 9 |
| 10 #include "ui/aura/aura_export.h" |
| 11 |
| 12 namespace aura { |
| 13 enum class ChangeType; |
| 14 |
| 15 class AURA_EXPORT WindowTreeClientTestObserver { |
| 16 public: |
| 17 // Called when a new change id is created. |
| 18 virtual void OnChangeStarted(uint32_t change_id, ChangeType type) = 0; |
| 19 |
| 20 // Called when a change is completed, successfully or unsuccessfully. |
| 21 virtual void OnChangeCompleted(uint32_t change_id, |
| 22 ChangeType type, bool success) = 0; |
| 23 |
| 24 protected: |
| 25 virtual ~WindowTreeClientTestObserver() {} |
| 26 }; |
| 27 |
| 28 } // namespace aura |
| 29 |
| 30 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_TEST_OBSERVER_H_ |
| OLD | NEW |