| Index: ui/display/chromeos/x11/display_mode_x11.h
|
| diff --git a/ui/display/chromeos/x11/display_mode_x11.h b/ui/display/chromeos/x11/display_mode_x11.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fa6739d3ba035290f20e02d2be2ab5929b5a4b37
|
| --- /dev/null
|
| +++ b/ui/display/chromeos/x11/display_mode_x11.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
|
| +#define UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
|
| +
|
| +#include "ui/display/chromeos/display_mode.h"
|
| +
|
| +// Forward declare from Xlib and Xrandr.
|
| +typedef unsigned long XID;
|
| +typedef XID RRMode;
|
| +
|
| +namespace ui {
|
| +
|
| +class DISPLAY_EXPORT DisplayModeX11 : public DisplayMode {
|
| + public:
|
| + DisplayModeX11(const gfx::Size& size,
|
| + bool interlaced,
|
| + float refresh_rate,
|
| + RRMode mode_id);
|
| + virtual ~DisplayModeX11();
|
| +
|
| + RRMode mode_id() const { return mode_id_; }
|
| +
|
| + private:
|
| + RRMode mode_id_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(DisplayModeX11);
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
|
|
|