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

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

Issue 2759933007: [mus]Add FrameGenerator::SetHighContrastMode(bool) (Closed)
Patch Set: Addressed nits Created 3 years, 9 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/platform_display_default.cc ('k') | services/ui/ws/test_utils.h » ('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 2015 The Chromium Authors. All rights reserved. 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 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_PLATFORM_DISPLAY_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_
6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_ 6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_
7 7
8 namespace display { 8 namespace display {
9 class Display; 9 class Display;
10 } 10 }
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 // Returns a display::Display for this display. 25 // Returns a display::Display for this display.
26 virtual const display::Display& GetDisplay() = 0; 26 virtual const display::Display& GetDisplay() = 0;
27 27
28 // Returns the root window of this display. 28 // Returns the root window of this display.
29 virtual ServerWindow* GetRootWindow() = 0; 29 virtual ServerWindow* GetRootWindow() = 0;
30 30
31 // Called once when the AcceleratedWidget is available for drawing. 31 // Called once when the AcceleratedWidget is available for drawing.
32 virtual void OnAcceleratedWidgetAvailable() = 0; 32 virtual void OnAcceleratedWidgetAvailable() = 0;
33 33
34 virtual bool IsInHighContrastMode() = 0;
35
36 // Called when an event arrives. 34 // Called when an event arrives.
37 virtual void OnEvent(const ui::Event& event) = 0; 35 virtual void OnEvent(const ui::Event& event) = 0;
38 36
39 // Called when the Display loses capture. 37 // Called when the Display loses capture.
40 virtual void OnNativeCaptureLost() = 0; 38 virtual void OnNativeCaptureLost() = 0;
41 39
42 protected: 40 protected:
43 virtual ~PlatformDisplayDelegate() {} 41 virtual ~PlatformDisplayDelegate() {}
44 }; 42 };
45 43
46 } // namespace ws 44 } // namespace ws
47 45
48 } // namespace ui 46 } // namespace ui
49 47
50 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_ 48 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display_default.cc ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698