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

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

Issue 10675011: Rename the remaining usage of Monitor to Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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
« no previous file with comments | « chromeos/display/DEPS ('k') | chromeos/display/output_configurator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_MONITOR_OUTPUT_CONFIGURATOR_H_ 5 #ifndef CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_
6 #define CHROMEOS_MONITOR_OUTPUT_CONFIGURATOR_H_ 6 #define CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/event_types.h" 10 #include "base/event_types.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "chromeos/chromeos_export.h" 13 #include "chromeos/chromeos_export.h"
14 14
15 // Forward declarations for Xlib and Xrandr. 15 // Forward declarations for Xlib and Xrandr.
16 // This is so unused X definitions don't pollute the namespace. 16 // This is so unused X definitions don't pollute the namespace.
(...skipping 18 matching lines...) Expand all
35 RRMode ideal_mode; 35 RRMode ideal_mode;
36 int x; 36 int x;
37 int y; 37 int y;
38 bool is_connected; 38 bool is_connected;
39 bool is_powered_on; 39 bool is_powered_on;
40 bool is_internal; 40 bool is_internal;
41 unsigned long mm_width; 41 unsigned long mm_width;
42 unsigned long mm_height; 42 unsigned long mm_height;
43 }; 43 };
44 44
45 // Used to describe the state of a multi-monitor configuration. 45 // Used to describe the state of a multi-display configuration.
46 enum State { 46 enum State {
47 STATE_INVALID, 47 STATE_INVALID,
48 STATE_HEADLESS, 48 STATE_HEADLESS,
49 STATE_SINGLE, 49 STATE_SINGLE,
50 STATE_DUAL_MIRROR, 50 STATE_DUAL_MIRROR,
51 STATE_DUAL_PRIMARY_ONLY, 51 STATE_DUAL_PRIMARY_ONLY,
52 STATE_DUAL_SECONDARY_ONLY, 52 STATE_DUAL_SECONDARY_ONLY,
53 }; 53 };
54 54
55 // This class interacts directly with the underlying Xrandr API to manipulate 55 // This class interacts directly with the underlying Xrandr API to manipulate
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 // The display state as derived from the outputs observed in |output_cache_|. 156 // The display state as derived from the outputs observed in |output_cache_|.
157 // This is used for rotating display modes. 157 // This is used for rotating display modes.
158 State output_state_; 158 State output_state_;
159 159
160 DISALLOW_COPY_AND_ASSIGN(OutputConfigurator); 160 DISALLOW_COPY_AND_ASSIGN(OutputConfigurator);
161 }; 161 };
162 162
163 } // namespace chromeos 163 } // namespace chromeos
164 164
165 #endif // CHROMEOS_MONITOR_OUTPUT_CONFIGURATOR_H_ 165 #endif // CHROMEOS_DISPLAY_OUTPUT_CONFIGURATOR_H_
OLDNEW
« no previous file with comments | « chromeos/display/DEPS ('k') | chromeos/display/output_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698