root/ui/display/chromeos/x11/display_mode_x11.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// 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_

/* [<][>][^][v][top][bottom][index][help] */