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

Side by Side Diff: services/ui/ws/frame_generator_delegate.h

Issue 2613903003: Reland of "Mustash: Ensure surfaces submitted to Mus by WM and embedders contain Surfaces with embe… (Closed)
Patch Set: fix Created 3 years, 11 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
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/frame_generator_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « services/ui/ws/frame_generator.cc ('k') | services/ui/ws/frame_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698