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

Unified Diff: ui/display/chromeos/ozone/touchscreen_delegate_ozone.h

Issue 214513006: Add Ozone stub implementations for NativeDisplayDelegate and TouchscreenDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 9 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
Index: ui/display/chromeos/ozone/touchscreen_delegate_ozone.h
diff --git a/ui/display/chromeos/ozone/touchscreen_delegate_ozone.h b/ui/display/chromeos/ozone/touchscreen_delegate_ozone.h
new file mode 100644
index 0000000000000000000000000000000000000000..f9fd34a756ef3473c97d2614f228e6562cec44e9
--- /dev/null
+++ b/ui/display/chromeos/ozone/touchscreen_delegate_ozone.h
@@ -0,0 +1,31 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_
+#define UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_
+
+#include "ui/display/chromeos/output_configurator.h"
+
+namespace ui {
+
+class TouchscreenDelegateOzone
+ : public OutputConfigurator::TouchscreenDelegate {
+ public:
+ TouchscreenDelegateOzone();
+ virtual ~TouchscreenDelegateOzone();
+
+ // OutputConfigurator::TouchscreenDelegate overrides:
+ virtual void AssociateTouchscreens(
+ std::vector<OutputConfigurator::DisplayState>* outputs) OVERRIDE;
+ virtual void ConfigureCTM(
+ int touch_device_id,
+ const OutputConfigurator::CoordinateTransformation& ctm) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(TouchscreenDelegateOzone);
+};
+
+} // namespace ui
+
+#endif // UI_DISPLAY_CHROMEOS_OZONE_TOUCHSCREEN_DELEGATE_OZONE_H_
« no previous file with comments | « ui/display/chromeos/ozone/native_display_delegate_ozone.cc ('k') | ui/display/chromeos/ozone/touchscreen_delegate_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698