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

Side by Side Diff: ui/ozone/platform/dri/display_snapshot_dri.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « ui/ozone/platform/caca/ozone_platform_caca.cc ('k') | ui/ozone/platform/dri/dri_buffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DISPLAY_SNAPSHOT_DRI_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DISPLAY_SNAPSHOT_DRI_H_
6 #define UI_OZONE_PLATFORM_DRI_DISPLAY_SNAPSHOT_DRI_H_ 6 #define UI_OZONE_PLATFORM_DRI_DISPLAY_SNAPSHOT_DRI_H_
7 7
8 #include "ui/display/types/display_snapshot.h" 8 #include "ui/display/types/display_snapshot.h"
9 #include "ui/ozone/platform/dri/scoped_drm_types.h" 9 #include "ui/ozone/platform/dri/scoped_drm_types.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 class DriWrapper; 13 class DriWrapper;
14 14
15 class DisplaySnapshotDri : public DisplaySnapshot { 15 class DisplaySnapshotDri : public DisplaySnapshot {
16 public: 16 public:
17 DisplaySnapshotDri(DriWrapper* drm, 17 DisplaySnapshotDri(DriWrapper* drm,
18 drmModeConnector* connector, 18 drmModeConnector* connector,
19 drmModeCrtc* crtc, 19 drmModeCrtc* crtc,
20 uint32_t index); 20 uint32_t index);
21 virtual ~DisplaySnapshotDri(); 21 virtual ~DisplaySnapshotDri();
22 22
23 // Native properties of a display used by the DRI implementation in 23 // Native properties of a display used by the DRI implementation in
24 // configuring this display. 24 // configuring this display.
25 uint32_t connector() const { return connector_; } 25 uint32_t connector() const { return connector_; }
26 uint32_t crtc() const { return crtc_; } 26 uint32_t crtc() const { return crtc_; }
27 drmModePropertyRes* dpms_property() const { return dpms_property_.get(); } 27 drmModePropertyRes* dpms_property() const { return dpms_property_.get(); }
28 28
29 // DisplaySnapshot overrides: 29 // DisplaySnapshot overrides:
30 virtual std::string ToString() const OVERRIDE; 30 virtual std::string ToString() const override;
31 31
32 private: 32 private:
33 uint32_t connector_; 33 uint32_t connector_;
34 uint32_t crtc_; 34 uint32_t crtc_;
35 ScopedDrmPropertyPtr dpms_property_; 35 ScopedDrmPropertyPtr dpms_property_;
36 std::string name_; 36 std::string name_;
37 bool overscan_flag_; 37 bool overscan_flag_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotDri); 39 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotDri);
40 }; 40 };
41 41
42 } // namespace ui 42 } // namespace ui
43 43
44 #endif // UI_OZONE_PLATFORM_DRI_DISPLAY_SNAPSHOT_DRI_H_ 44 #endif // UI_OZONE_PLATFORM_DRI_DISPLAY_SNAPSHOT_DRI_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/caca/ozone_platform_caca.cc ('k') | ui/ozone/platform/dri/dri_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698