| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/event_types.h" | 14 #include "base/event_types.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "ui/display/display_export.h" | 18 #include "ui/display/display_export.h" |
| 19 #include "ui/display/types/chromeos/native_display_delegate.h" | 19 #include "ui/display/types/native_display_delegate.h" |
| 20 #include "ui/gfx/geometry/point.h" | 20 #include "ui/gfx/geometry/point.h" |
| 21 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
| 22 | 22 |
| 23 // Forward declarations for Xlib and Xrandr. | 23 // Forward declarations for Xlib and Xrandr. |
| 24 // This is so unused X definitions don't pollute the namespace. | 24 // This is so unused X definitions don't pollute the namespace. |
| 25 typedef unsigned long XID; | 25 typedef unsigned long XID; |
| 26 typedef XID RROutput; | 26 typedef XID RROutput; |
| 27 typedef XID RRCrtc; | 27 typedef XID RRCrtc; |
| 28 typedef XID RRMode; | 28 typedef XID RRMode; |
| 29 typedef XID Window; | 29 typedef XID Window; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 // A background color used during boot time + multi displays. | 154 // A background color used during boot time + multi displays. |
| 155 uint32_t background_color_argb_; | 155 uint32_t background_color_argb_; |
| 156 | 156 |
| 157 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); | 157 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace ui | 160 } // namespace ui |
| 161 | 161 |
| 162 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 162 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| OLD | NEW |