Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: ui/display/chromeos/x11/display_mode_x11.h

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_MODE_X11_H_ 5 #ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_ 6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
7 7
8 #include "ui/display/chromeos/display_mode.h" 8 #include "ui/display/types/chromeos/display_mode.h"
9 9
10 // Forward declare from Xlib and Xrandr. 10 // Forward declare from Xlib and Xrandr.
11 typedef unsigned long XID; 11 typedef unsigned long XID;
12 typedef XID RRMode; 12 typedef XID RRMode;
13 13
14 namespace ui { 14 namespace ui {
15 15
16 class DISPLAY_EXPORT DisplayModeX11 : public DisplayMode { 16 class DISPLAY_EXPORT DisplayModeX11 : public DisplayMode {
17 public: 17 public:
18 DisplayModeX11(const gfx::Size& size, 18 DisplayModeX11(const gfx::Size& size,
19 bool interlaced, 19 bool interlaced,
20 float refresh_rate, 20 float refresh_rate,
21 RRMode mode_id); 21 RRMode mode_id);
22 virtual ~DisplayModeX11(); 22 virtual ~DisplayModeX11();
23 23
24 RRMode mode_id() const { return mode_id_; } 24 RRMode mode_id() const { return mode_id_; }
25 25
26 private: 26 private:
27 RRMode mode_id_; 27 RRMode mode_id_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(DisplayModeX11); 29 DISALLOW_COPY_AND_ASSIGN(DisplayModeX11);
30 }; 30 };
31 31
32 } // namespace ui 32 } // namespace ui
33 33
34 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_ 34 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698