| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_AURA_FOCUS_CHANGE_OBSERVER_H_ | |
| 6 #define UI_AURA_FOCUS_CHANGE_OBSERVER_H_ | |
| 7 | |
| 8 #include "ui/aura/aura_export.h" | |
| 9 | |
| 10 namespace aura { | |
| 11 | |
| 12 class Window; | |
| 13 | |
| 14 class AURA_EXPORT FocusChangeObserver { | |
| 15 public: | |
| 16 // Called when |window| gains focus. | |
| 17 virtual void OnWindowFocused(Window* window) = 0; | |
| 18 | |
| 19 protected: | |
| 20 virtual ~FocusChangeObserver() {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace aura | |
| 24 | |
| 25 #endif // UI_AURA_FOCUS_CHANGE_OBSERVER_H_ | |
| OLD | NEW |