OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_FOCUS_SYNCHRONIZER_DELEGATE_H_ |
| 6 #define UI_AURA_MUS_FOCUS_SYNCHRONIZER_DELEGATE_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "ui/aura/aura_export.h" |
| 11 |
| 12 namespace aura { |
| 13 |
| 14 class WindowMus; |
| 15 |
| 16 // Used by FocusSynchronizer to create a change id when focus changes. The |
| 17 // change id is then sent to ui::mojom::WindowTree. |
| 18 class AURA_EXPORT FocusSynchronizerDelegate { |
| 19 public: |
| 20 virtual uint32_t CreateChangeIdForFocus(WindowMus* window) = 0; |
| 21 |
| 22 protected: |
| 23 virtual ~FocusSynchronizerDelegate() {} |
| 24 }; |
| 25 |
| 26 } // namespace aura |
| 27 |
| 28 #endif // UI_AURA_MUS_FOCUS_SYNCHRONIZER_DELEGATE_H_ |
OLD | NEW |