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

Side by Side Diff: chromeos/display/real_output_configurator_delegate.h

Issue 21297003: Add ability to set resolution on external display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adraddressed comment, adjusted test Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chromeos/display/output_util_unittest.cc ('k') | chromeos/display/real_output_configurator_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698