OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ | 5 #ifndef CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ |
6 #define CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ | 6 #define CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 // OutputConfigurator::Delegate overrides: | 30 // OutputConfigurator::Delegate overrides: |
31 virtual void SetPanelFittingEnabled(bool enabled) OVERRIDE; | 31 virtual void SetPanelFittingEnabled(bool enabled) OVERRIDE; |
32 virtual void InitXRandRExtension(int* event_base) OVERRIDE; | 32 virtual void InitXRandRExtension(int* event_base) OVERRIDE; |
33 virtual void UpdateXRandRConfiguration( | 33 virtual void UpdateXRandRConfiguration( |
34 const base::NativeEvent& event) OVERRIDE; | 34 const base::NativeEvent& event) OVERRIDE; |
35 virtual void GrabServer() OVERRIDE; | 35 virtual void GrabServer() OVERRIDE; |
36 virtual void UngrabServer() OVERRIDE; | 36 virtual void UngrabServer() OVERRIDE; |
37 virtual void SyncWithServer() OVERRIDE; | 37 virtual void SyncWithServer() OVERRIDE; |
38 virtual void SetBackgroundColor(uint32 color_argb) OVERRIDE; | 38 virtual void SetBackgroundColor(uint32 color_argb) OVERRIDE; |
39 virtual void ForceDPMSOn() OVERRIDE; | 39 virtual void ForceDPMSOn() OVERRIDE; |
40 virtual std::vector<OutputConfigurator::OutputSnapshot> GetOutputs() OVERRIDE; | 40 virtual std::vector<OutputConfigurator::OutputSnapshot> GetOutputs( |
| 41 const OutputConfigurator::StateController* state_controller) OVERRIDE; |
41 virtual bool GetModeDetails( | 42 virtual bool GetModeDetails( |
42 RRMode mode, | 43 RRMode mode, |
43 int* width, | 44 int* width, |
44 int* height, | 45 int* height, |
45 bool* interlaced) OVERRIDE; | 46 bool* interlaced) OVERRIDE; |
46 virtual void ConfigureCrtc(OutputConfigurator::CrtcConfig* config) OVERRIDE; | 47 virtual void ConfigureCrtc(OutputConfigurator::CrtcConfig* config) OVERRIDE; |
47 virtual void CreateFrameBuffer( | 48 virtual void CreateFrameBuffer( |
48 int width, | 49 int width, |
49 int height, | 50 int height, |
50 const std::vector<OutputConfigurator::CrtcConfig>& configs) OVERRIDE; | 51 const std::vector<OutputConfigurator::CrtcConfig>& configs) OVERRIDE; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 100 |
100 // Used to enable modes which rely on panel fitting. | 101 // Used to enable modes which rely on panel fitting. |
101 bool is_panel_fitting_enabled_; | 102 bool is_panel_fitting_enabled_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(RealOutputConfiguratorDelegate); | 104 DISALLOW_COPY_AND_ASSIGN(RealOutputConfiguratorDelegate); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace chromeos | 107 } // namespace chromeos |
107 | 108 |
108 #endif // CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ | 109 #endif // CHROMEOS_DISPLAY_REAL_OUTPUT_CONFIGURATOR_DELEGATE_H_ |
OLD | NEW |