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
3 // found in the LICENSE file.
5 #ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
8 #include "ui/display/display_export.h"
9 #include "ui/display/types/display_mode.h"
11 // Forward declare from Xlib and Xrandr.
12 typedef unsigned long XID
;
17 class DISPLAY_EXPORT DisplayModeX11
: public DisplayMode
{
19 DisplayModeX11(const gfx::Size
& size
,
23 ~DisplayModeX11() override
;
25 RRMode
mode_id() const { return mode_id_
; }
30 DISALLOW_COPY_AND_ASSIGN(DisplayModeX11
);
35 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_