OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ | 5 #ifndef COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ |
6 #define COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ | 6 #define COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ |
7 | 7 |
8 namespace mus { | 8 namespace view_manager { |
9 | 9 |
10 class ServerView; | 10 class ServerView; |
11 | 11 |
12 class FocusControllerDelegate { | 12 class FocusControllerDelegate { |
13 public: | 13 public: |
14 virtual void OnFocusChanged(ServerView* old_focused_view, | 14 virtual void OnFocusChanged(ServerView* old_focused_view, |
15 ServerView* new_focused_view) = 0; | 15 ServerView* new_focused_view) = 0; |
16 | 16 |
17 protected: | 17 protected: |
18 ~FocusControllerDelegate() {} | 18 ~FocusControllerDelegate() {} |
19 }; | 19 }; |
20 | 20 |
21 } // namespace mus | 21 } // namespace view_manager |
22 | 22 |
23 #endif // COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ | 23 #endif // COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_ |
OLD | NEW |