OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_OUTPUT_CONFIGURATOR_H_ | 5 #ifndef CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_ |
6 #define CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_ | 6 #define CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/event_types.h" | 9 #include "base/event_types.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
13 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
14 | 13 |
15 // Forward declarations for Xlib and Xrandr. | 14 // Forward declarations for Xlib and Xrandr. |
16 // This is so unused X definitions don't pollute the namespace. | 15 // This is so unused X definitions don't pollute the namespace. |
17 typedef unsigned long XID; | 16 typedef unsigned long XID; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // The display state as derived from the outputs observed in |output_cache_|. | 155 // The display state as derived from the outputs observed in |output_cache_|. |
157 // This is used for rotating display modes. | 156 // This is used for rotating display modes. |
158 State output_state_; | 157 State output_state_; |
159 | 158 |
160 DISALLOW_COPY_AND_ASSIGN(OutputConfigurator); | 159 DISALLOW_COPY_AND_ASSIGN(OutputConfigurator); |
161 }; | 160 }; |
162 | 161 |
163 } // namespace chromeos | 162 } // namespace chromeos |
164 | 163 |
165 #endif // CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_ | 164 #endif // CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_ |
OLD | NEW |