Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: components/mus/public/cpp/window_tree_client_observer.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_OBSERVER_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_OBSERVER_H_
7
8 namespace mus {
9
10 class Window;
11 class WindowTreeClient;
12
13 class WindowTreeClientObserver {
14 public:
15 virtual void OnWindowTreeFocusChanged(Window* gained_focus,
16 Window* lost_focus) {}
17
18 // Called early on in the destructor of WindowTreeClient; before any windows
19 // have been destroyed.
20 virtual void OnWillDestroyClient(WindowTreeClient* client) {}
21
22 // Called at the end of WindowTreeClient's destructor. At this point
23 // observers should drop all references to |client|.
24 virtual void OnDidDestroyClient(WindowTreeClient* client) {}
25
26 protected:
27 virtual ~WindowTreeClientObserver() {}
28 };
29
30 } // namespace mus
31
32 #endif // COMPONENTS_MUS_PUBLIC_CPP_WINDOW_TREE_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/mus/public/cpp/window_tree_client_delegate.h ('k') | components/mus/public/cpp/window_tree_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698