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; | |
15 virtual bool IsInHighContrastMode() = 0; | 13 virtual bool IsInHighContrastMode() = 0; |
16 | 14 |
17 protected: | 15 protected: |
18 virtual ~FrameGeneratorDelegate() {} | 16 virtual ~FrameGeneratorDelegate() {} |
19 }; | 17 }; |
20 | 18 |
21 } // namespace ws | 19 } // namespace ws |
22 } // namespace ui | 20 } // namespace ui |
23 | 21 |
24 #endif // SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ | 22 #endif // SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_ |
OLD | NEW |