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

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

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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
« no previous file with comments | « ui/display/chromeos/x11/DEPS ('k') | ui/display/chromeos/x11/display_mode_x11.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
6 #define UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
7
8 #include "base/macros.h"
9 #include "ui/display/display_export.h"
10 #include "ui/display/types/display_mode.h"
11
12 // Forward declare from Xlib and Xrandr.
13 typedef unsigned long XID;
14 typedef XID RRMode;
15
16 namespace ui {
17
18 class DISPLAY_EXPORT DisplayModeX11 : public DisplayMode {
19 public:
20 DisplayModeX11(const gfx::Size& size,
21 bool interlaced,
22 float refresh_rate,
23 RRMode mode_id);
24 ~DisplayModeX11() override;
25 std::unique_ptr<DisplayMode> Clone() const override;
26
27 RRMode mode_id() const { return mode_id_; }
28
29 private:
30 RRMode mode_id_;
31
32 DISALLOW_COPY_AND_ASSIGN(DisplayModeX11);
33 };
34
35 } // namespace ui
36
37 #endif // UI_DISPLAY_CHROMEOS_X11_DISPLAY_MODE_X11_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/x11/DEPS ('k') | ui/display/chromeos/x11/display_mode_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698