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

Unified Diff: ui/ozone/platform/dri/dri_window.h

Issue 611423002: [WIP][Ozone] Support external touchscreens (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ozone-touchscreen
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_window.h
diff --git a/ui/ozone/platform/dri/dri_window.h b/ui/ozone/platform/dri/dri_window.h
index 9197ce0c62f56f7bb725df70c98769790215ffe1..ba7b625aa565eb1675186eb3220951241b57efa7 100644
--- a/ui/ozone/platform/dri/dri_window.h
+++ b/ui/ozone/platform/dri/dri_window.h
@@ -10,10 +10,12 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/ozone/platform/dri/channel_observer.h"
+#include "ui/ozone/platform/dri/touch_converter.h"
#include "ui/platform_window/platform_window.h"
namespace ui {
+class DisplayManager;
class DriWindowDelegate;
class DriWindowManager;
class EventFactoryEvdev;
@@ -27,7 +29,8 @@ class DriWindow : public PlatformWindow,
const gfx::Rect& bounds,
DriGpuPlatformSupportHost* sender,
EventFactoryEvdev* event_factory,
- DriWindowManager* window_manager);
+ DriWindowManager* window_manager,
+ DisplayManager* display_manager);
virtual ~DriWindow();
void Initialize();
@@ -64,6 +67,9 @@ class DriWindow : public PlatformWindow,
gfx::Rect bounds_;
gfx::AcceleratedWidget widget_;
+ // Transforms touch events into the window coordinate system.
+ TouchConverter touch_converter_;
+
DISALLOW_COPY_AND_ASSIGN(DriWindow);
};
« no previous file with comments | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698