| 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_FOCUS_SYNCHRONIZER_OBSERVER_H_ |
| 6 #define UI_AURA_MUS_FOCUS_SYNCHRONIZER_OBSERVER_H_ |
| 7 |
| 8 #include "ui/aura/aura_export.h" |
| 9 |
| 10 namespace aura { |
| 11 class Window; |
| 12 |
| 13 namespace client { |
| 14 class FocusClient; |
| 15 } |
| 16 |
| 17 class AURA_EXPORT FocusSynchronizerObserver { |
| 18 public: |
| 19 // Called from FocusSynchronizer::OnActiveFocusClientChanged() to notify its |
| 20 // observers of active focus client and focus window changes. |
| 21 virtual void OnActiveFocusClientChanged(client::FocusClient* focus_client, |
| 22 Window* window) {} |
| 23 |
| 24 protected: |
| 25 virtual ~FocusSynchronizerObserver() {} |
| 26 }; |
| 27 |
| 28 } // namespace aura |
| 29 |
| 30 #endif // UI_AURA_MUS_FOCUS_SYNCHRONIZER_OBSERVER_H_ |
| OLD | NEW |