| 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 CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ |
| 6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ |
| 7 | 7 |
| 8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
| 9 | 9 |
| 10 #undef None // Defined by X11/X.h to 0L which collides with other headers |
| 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "cc/output/software_output_device.h" | 13 #include "cc/output/software_output_device.h" |
| 12 #include "ui/gfx/x/x11_types.h" | 14 #include "ui/gfx/x/x11_types.h" |
| 13 | 15 |
| 14 namespace ui { | 16 namespace ui { |
| 15 class Compositor; | 17 class Compositor; |
| 16 } | 18 } |
| 17 | 19 |
| 18 namespace content { | 20 namespace content { |
| 19 | 21 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 30 XDisplay* display_; | 32 XDisplay* display_; |
| 31 GC gc_; | 33 GC gc_; |
| 32 XWindowAttributes attributes_; | 34 XWindowAttributes attributes_; |
| 33 | 35 |
| 34 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceX11); | 36 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceX11); |
| 35 }; | 37 }; |
| 36 | 38 |
| 37 } // namespace content | 39 } // namespace content |
| 38 | 40 |
| 39 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ | 41 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_X11_H_ |
| OLD | NEW |