OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/display/chromeos/native_display_delegate.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 class NativeDisplayDelegateOzone : public NativeDisplayDelegate { |
| 14 public: |
| 15 NativeDisplayDelegateOzone(); |
| 16 virtual ~NativeDisplayDelegateOzone(); |
| 17 |
| 18 // NativeDisplayDelegate overrides: |
| 19 virtual void Initialize() OVERRIDE; |
| 20 virtual void GrabServer() OVERRIDE; |
| 21 virtual void UngrabServer() OVERRIDE; |
| 22 virtual void SyncWithServer() OVERRIDE; |
| 23 virtual void SetBackgroundColor(uint32_t color_argb) OVERRIDE; |
| 24 virtual void ForceDPMSOn() OVERRIDE; |
| 25 virtual std::vector<ui::DisplaySnapshot*> GetOutputs() OVERRIDE; |
| 26 virtual void AddMode(const ui::DisplaySnapshot& output, |
| 27 const ui::DisplayMode* mode) OVERRIDE; |
| 28 virtual bool Configure(const ui::DisplaySnapshot& output, |
| 29 const ui::DisplayMode* mode, |
| 30 const gfx::Point& origin) OVERRIDE; |
| 31 virtual void CreateFrameBuffer(const gfx::Size& size) OVERRIDE; |
| 32 virtual bool GetHDCPState(const ui::DisplaySnapshot& output, |
| 33 ui::HDCPState* state) OVERRIDE; |
| 34 virtual bool SetHDCPState(const ui::DisplaySnapshot& output, |
| 35 ui::HDCPState state) OVERRIDE; |
| 36 virtual std::vector<ui::ColorCalibrationProfile> |
| 37 GetAvailableColorCalibrationProfiles( |
| 38 const ui::DisplaySnapshot& output) OVERRIDE; |
| 39 virtual bool SetColorCalibrationProfile( |
| 40 const ui::DisplaySnapshot& output, |
| 41 ui::ColorCalibrationProfile new_profile) OVERRIDE; |
| 42 virtual void AddObserver(NativeDisplayObserver* observer) OVERRIDE; |
| 43 virtual void RemoveObserver(NativeDisplayObserver* observer) OVERRIDE; |
| 44 |
| 45 private: |
| 46 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateOzone); |
| 47 }; |
| 48 |
| 49 } // namespace ui |
| 50 |
| 51 #endif // UI_DISPLAY_CHROMEOS_OZONE_NATIVE_DISPLAY_DELEGATE_OZONE_H_ |
OLD | NEW |