OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ | 5 #ifndef SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ |
6 #define SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ | 6 #define SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ |
7 | 7 |
8 namespace ui { | 8 namespace ui { |
9 namespace ws { | 9 namespace ws { |
10 | 10 |
11 class FrameGeneratorDelegate { | 11 class FrameGeneratorDelegate { |
12 public: | 12 public: |
| 13 // Returns the root window of the active user. |
| 14 virtual ServerWindow* GetActiveRootWindow() = 0; |
13 virtual bool IsInHighContrastMode() = 0; | 15 virtual bool IsInHighContrastMode() = 0; |
14 | 16 |
15 protected: | 17 protected: |
16 virtual ~FrameGeneratorDelegate() {} | 18 virtual ~FrameGeneratorDelegate() {} |
17 }; | 19 }; |
18 | 20 |
19 } // namespace ws | 21 } // namespace ws |
20 } // namespace ui | 22 } // namespace ui |
21 | 23 |
22 #endif // SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ | 24 #endif // SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ |
OLD | NEW |