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

Unified Diff: ui/gfx/ozone/impl/dri_wrapper.h

Issue 49303002: [Ozone] Rename software implementation files to use Dri prefix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ifdef Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/ozone/impl/dri_surface_unittest.cc ('k') | ui/gfx/ozone/impl/dri_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/impl/dri_wrapper.h
diff --git a/ui/gfx/ozone/impl/drm_wrapper_ozone.h b/ui/gfx/ozone/impl/dri_wrapper.h
similarity index 91%
rename from ui/gfx/ozone/impl/drm_wrapper_ozone.h
rename to ui/gfx/ozone/impl/dri_wrapper.h
index 6ff7945a3f44db3d6a3e5363a51dcea7b6537ae6..e56dd44341c8fca5dc07c1d402a7b6291863f0ba 100644
--- a/ui/gfx/ozone/impl/drm_wrapper_ozone.h
+++ b/ui/gfx/ozone/impl/dri_wrapper.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_OZONE_IMPL_DRM_WRAPPER_OZONE_H_
-#define UI_GFX_OZONE_IMPL_DRM_WRAPPER_OZONE_H_
+#ifndef UI_GFX_OZONE_IMPL_DRI_WRAPPER_H_
+#define UI_GFX_OZONE_IMPL_DRI_WRAPPER_H_
#include <stdint.h>
@@ -17,10 +17,10 @@ namespace gfx {
// Wraps DRM calls into a nice interface. Used to provide different
// implementations of the DRM calls. For the actual implementation the DRM API
// would be called. In unit tests this interface would be stubbed.
-class DrmWrapperOzone {
+class DriWrapper {
public:
- DrmWrapperOzone(const char* device_path);
- virtual ~DrmWrapperOzone();
+ DriWrapper(const char* device_path);
+ virtual ~DriWrapper();
// Get the CRTC state. This is generally used to save state before using the
// CRTC. When the user finishes using the CRTC, the user should restore the
@@ -77,9 +77,9 @@ class DrmWrapperOzone {
int fd_;
private:
- DISALLOW_COPY_AND_ASSIGN(DrmWrapperOzone);
+ DISALLOW_COPY_AND_ASSIGN(DriWrapper);
};
} // namespace gfx
-#endif // UI_GFX_OZONE_IMPL_DRM_WRAPPER_OZONE_H_
+#endif // UI_GFX_OZONE_IMPL_DRI_WRAPPER_H_
« no previous file with comments | « ui/gfx/ozone/impl/dri_surface_unittest.cc ('k') | ui/gfx/ozone/impl/dri_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698