summaryrefslogtreecommitdiffstats
path: root/components/mus/focus_controller_delegate.h
blob: 60556e2a1e27ca5fb7046d6141a0d2460a1f8976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_
#define COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_

namespace mus {

class ServerView;

class FocusControllerDelegate {
 public:
  virtual void OnFocusChanged(ServerView* old_focused_view,
                              ServerView* new_focused_view) = 0;

 protected:
  ~FocusControllerDelegate() {}
};

}  // namespace mus

#endif  // COMPONENTS_MUS_FOCUS_CONTROLLER_DELEGATE_H_