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

Side by Side Diff: ui/ozone/platform/dri/chromeos/display_mode_dri.h

Issue 558253003: display: Move ui/display/types/chromeos/* to ui/display/types/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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
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_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_
6 #define UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_ 6 #define UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <xf86drmMode.h> 10 #include <xf86drmMode.h>
11 11
12 #include "ui/display/types/chromeos/display_mode.h" 12 #include "ui/display/types/display_mode.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 class DisplayModeDri : public DisplayMode { 16 class DisplayModeDri : public DisplayMode {
17 public: 17 public:
18 DisplayModeDri(const drmModeModeInfo& mode); 18 DisplayModeDri(const drmModeModeInfo& mode);
19 virtual ~DisplayModeDri(); 19 virtual ~DisplayModeDri();
20 20
21 // Native details about this mode. Only used internally in the DRI 21 // Native details about this mode. Only used internally in the DRI
22 // implementation. 22 // implementation.
23 drmModeModeInfo mode_info() const { return mode_info_; } 23 drmModeModeInfo mode_info() const { return mode_info_; }
24 24
25 private: 25 private:
26 drmModeModeInfo mode_info_; 26 drmModeModeInfo mode_info_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(DisplayModeDri); 28 DISALLOW_COPY_AND_ASSIGN(DisplayModeDri);
29 }; 29 };
30 30
31 } // namespace ui 31 } // namespace ui
32 32
33 #endif // UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_ 33 #endif // UI_OZONE_PLATFORM_DRI_CHROMEOS_DISPLAY_MODE_DRI_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/chromeos/display_message_handler.cc ('k') | ui/ozone/platform/dri/chromeos/display_snapshot_dri.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698