OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
Lei Zhang
2016/06/29 18:30:53
no (c)
Tom (Use chromium acct)
2016/06/29 20:16:05
Done.
| |
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 UI_DISPLAY_DESKTOP_OBSERVER_H_ | |
6 #define UI_DISPLAY_DESKTOP_OBSERVER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/observer_list.h" | |
11 #include "ui/display/display_export.h" | |
12 | |
13 namespace display { | |
14 | |
15 // Observers for desktop configuration changes. | |
16 class DISPLAY_EXPORT DesktopObserver { | |
17 public: | |
18 virtual void OnWorkspaceChanged(const std::string& new_workspace) = 0; | |
19 | |
20 protected: | |
21 virtual ~DesktopObserver(); | |
22 }; | |
23 | |
24 DISPLAY_EXPORT extern base::ObserverList<display::DesktopObserver> | |
25 g_desktop_observer_list; | |
Elliot Glaysher
2016/06/29 18:21:09
I'm pretty sure you don't want to have a raw Obser
Tom (Use chromium acct)
2016/06/29 20:16:05
Done.
| |
26 | |
27 } // namespace display | |
28 | |
29 #endif // UI_DISPLAY_DESKTOP_OBSERVER_H_ | |
OLD | NEW |