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

Side by Side Diff: ui/display/chromeos/test/test_native_display_delegate.h

Issue 1861593002: chromeos: Turn off displays on suspend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromeos: Add functions for configuring cached displays Created 4 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // NativeDisplayDelegate overrides: 52 // NativeDisplayDelegate overrides:
53 void Initialize() override; 53 void Initialize() override;
54 void GrabServer() override; 54 void GrabServer() override;
55 void UngrabServer() override; 55 void UngrabServer() override;
56 void TakeDisplayControl(const DisplayControlCallback& callback) override; 56 void TakeDisplayControl(const DisplayControlCallback& callback) override;
57 void RelinquishDisplayControl( 57 void RelinquishDisplayControl(
58 const DisplayControlCallback& callback) override; 58 const DisplayControlCallback& callback) override;
59 void SyncWithServer() override; 59 void SyncWithServer() override;
60 void SetBackgroundColor(uint32_t color_argb) override; 60 void SetBackgroundColor(uint32_t color_argb) override;
61 void ForceDPMSOn() override; 61 void ForceDPMSOn() override;
62 void GetCachedDisplays(const GetDisplaysCallback& callback) override;
62 void GetDisplays(const GetDisplaysCallback& callback) override; 63 void GetDisplays(const GetDisplaysCallback& callback) override;
63 void AddMode(const DisplaySnapshot& output, const DisplayMode* mode) override; 64 void AddMode(const DisplaySnapshot& output, const DisplayMode* mode) override;
64 void Configure(const DisplaySnapshot& output, 65 void Configure(const DisplaySnapshot& output,
65 const DisplayMode* mode, 66 const DisplayMode* mode,
66 const gfx::Point& origin, 67 const gfx::Point& origin,
67 const ConfigureCallback& callback) override; 68 const ConfigureCallback& callback) override;
68 void CreateFrameBuffer(const gfx::Size& size) override; 69 void CreateFrameBuffer(const gfx::Size& size) override;
69 void GetHDCPState(const DisplaySnapshot& output, 70 void GetHDCPState(const DisplaySnapshot& output,
70 const GetHDCPStateCallback& callback) override; 71 const GetHDCPStateCallback& callback) override;
71 void SetHDCPState(const DisplaySnapshot& output, 72 void SetHDCPState(const DisplaySnapshot& output,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 ActionLogger* log_; // Not owned. 112 ActionLogger* log_; // Not owned.
112 113
113 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate); 114 DISALLOW_COPY_AND_ASSIGN(TestNativeDisplayDelegate);
114 }; 115 };
115 116
116 } // namespace test 117 } // namespace test
117 } // namespace ui 118 } // namespace ui
118 119
119 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_ 120 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/display_configurator_unittest.cc ('k') | ui/display/chromeos/test/test_native_display_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698