| 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_DISPLAY_SNAPSHOT_X11_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_ | 6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_ |
| 7 | 7 |
| 8 #include "ui/display/chromeos/display_snapshot.h" | 8 #include "ui/display/display_export.h" |
| 9 #include "ui/display/types/chromeos/display_snapshot.h" |
| 9 | 10 |
| 10 // Forward declare from Xlib and Xrandr. | 11 // Forward declare from Xlib and Xrandr. |
| 11 typedef unsigned long XID; | 12 typedef unsigned long XID; |
| 12 typedef XID RROutput; | 13 typedef XID RROutput; |
| 13 typedef XID RRCrtc; | 14 typedef XID RRCrtc; |
| 14 | 15 |
| 15 namespace ui { | 16 namespace ui { |
| 16 | 17 |
| 17 class DISPLAY_EXPORT DisplaySnapshotX11 : public DisplaySnapshot { | 18 class DISPLAY_EXPORT DisplaySnapshotX11 : public DisplaySnapshot { |
| 18 public: | 19 public: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 49 // This output's index in the array returned by XRandR. Stable even as | 50 // This output's index in the array returned by XRandR. Stable even as |
| 50 // outputs are connected or disconnected. | 51 // outputs are connected or disconnected. |
| 51 int index_; | 52 int index_; |
| 52 | 53 |
| 53 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotX11); | 54 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotX11); |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 } // namespace ui | 57 } // namespace ui |
| 57 | 58 |
| 58 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_ | 59 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_ |
| OLD | NEW |