summaryrefslogtreecommitdiffstats
path: root/components/mus/ws/focus_controller_delegate.h
blob: 11ef9ad7e499c00795fe63ac5703a405d3ad9248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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_WS_FOCUS_CONTROLLER_DELEGATE_H_
#define COMPONENTS_MUS_WS_FOCUS_CONTROLLER_DELEGATE_H_

namespace mus {

namespace ws {

class ServerWindow;

class FocusControllerDelegate {
 public:
  virtual void OnFocusChanged(ServerWindow* old_focused_window,
                              ServerWindow* new_focused_window) = 0;

 protected:
  ~FocusControllerDelegate() {}
};

}  // namespace ws

}  // namespace mus

#endif  // COMPONENTS_MUS_WS_FOCUS_CONTROLLER_DELEGATE_H_