Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / mus / focus_controller_delegate.h
blob60556e2a1e27ca5fb7046d6141a0d2460a1f8976
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_
6 #define COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_
8 namespace mus {
10 class ServerView;
12 class FocusControllerDelegate {
13 public:
14 virtual void OnFocusChanged(ServerView* old_focused_view,
15 ServerView* new_focused_view) = 0;
17 protected:
18 ~FocusControllerDelegate() {}
21 } // namespace mus
23 #endif // COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_