summaryrefslogtreecommitdiffstats
path: root/components/mus/public/cpp/window_tree_connection_observer.h
blob: b29d71cd711d111cfb9239ef774d59242fcf769e (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_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_
#define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_

namespace mus {

class Window;

class WindowTreeConnectionObserver {
 public:
  virtual void OnWindowTreeFocusChanged(Window* gained_focus,
                                        Window* lost_focus) {}

 protected:
  virtual ~WindowTreeConnectionObserver() {}
};

}  // namespace mus

#endif  // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CONNECTION_OBSERVER_H_