| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |