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

Unified Diff: ui/ozone/platform/gbm/ozone_platform_gbm.h

Issue 132543002: Not for review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/gbm/ozone_platform_gbm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/gbm/ozone_platform_gbm.h
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.h b/ui/ozone/platform/gbm/ozone_platform_gbm.h
similarity index 65%
copy from ui/ozone/platform/dri/ozone_platform_dri.h
copy to ui/ozone/platform/gbm/ozone_platform_gbm.h
index 74826f6a5bd4d4ef5a13281a01644d864abffe60..c398efee947331dedaf5de73e46b28bff8944b40 100644
--- a/ui/ozone/platform/dri/ozone_platform_dri.h
+++ b/ui/ozone/platform/gbm/ozone_platform_gbm.h
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_OZONE_PLATFORM_DRI_OZONE_PLATFORM_DRI_H_
-#define UI_OZONE_PLATFORM_DRI_OZONE_PLATFORM_DRI_H_
+#ifndef UI_OZONE_PLATFORM_GBM_OZONE_PLATFORM_GBM_H_
+#define UI_OZONE_PLATFORM_GBM_OZONE_PLATFORM_GBM_H_
#include "ui/events/ozone/evdev/event_factory.h"
-#include "ui/gfx/ozone/dri/dri_surface_factory.h"
+#include "ui/gfx/ozone/dri/gbm_surface_factory.h"
#include "ui/ozone/ozone_platform.h"
namespace ui {
@@ -15,28 +15,29 @@ namespace ui {
//
// This platform is Linux without any display server (no X, wayland, or
// anything). This means chrome alone owns the display and input devices.
-class OzonePlatformDri : public OzonePlatform {
+class OzonePlatformGbm : public OzonePlatform {
public:
- OzonePlatformDri();
- virtual ~OzonePlatformDri();
+ OzonePlatformGbm();
+ virtual ~OzonePlatformGbm();
virtual gfx::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE;
virtual ui::EventFactoryOzone* GetEventFactoryOzone() OVERRIDE;
virtual ui::InputMethodContextFactoryOzone*
GetInputMethodContextFactoryOzone() OVERRIDE;
+ virtual gfx::OverlayHALOzone* GetOverlayHALOzone() OVERRIDE;
private:
- gfx::DriSurfaceFactory surface_factory_ozone_;
+ gfx::GbmSurfaceFactory surface_factory_ozone_;
ui::EventFactoryEvdev event_factory_ozone_;
// This creates a minimal input context.
ui::InputMethodContextFactoryOzone input_method_context_factory_ozone_;
- DISALLOW_COPY_AND_ASSIGN(OzonePlatformDri);
+ DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm);
};
// Constructor hook for use in ozone_platform_list.cc
-OzonePlatform* CreateOzonePlatformDri();
+OzonePlatform* CreateOzonePlatformGbm();
} // namespace ui
-#endif // UI_OZONE_PLATFORM_DRI_OZONE_PLATFORM_DRI_H_
+#endif // UI_OZONE_PLATFORM_GBM_OZONE_PLATFORM_GBM_H_
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | ui/ozone/platform/gbm/ozone_platform_gbm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698