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

Unified Diff: ui/ozone/public/ozone_platform.h

Issue 755883002: Input Injection API on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit test Created 6 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/ozone/platform/test/ozone_platform_test.cc ('k') | ui/ozone/public/system_input_injector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ozone_platform.h
diff --git a/ui/ozone/public/ozone_platform.h b/ui/ozone/public/ozone_platform.h
index c01800c021a4d94094bc047e0f872d6f32c6bd02..a4cd99abe6e7b62d4020b57eccd8a3d6ab4ee6fd 100644
--- a/ui/ozone/public/ozone_platform.h
+++ b/ui/ozone/public/ozone_platform.h
@@ -15,12 +15,13 @@ class Rect;
namespace ui {
class CursorFactoryOzone;
-class NativeDisplayDelegate;
-class SurfaceFactoryOzone;
class GpuPlatformSupport;
class GpuPlatformSupportHost;
+class NativeDisplayDelegate;
class PlatformWindow;
class PlatformWindowDelegate;
+class SurfaceFactoryOzone;
+class SystemInputInjector;
// Base class for Ozone platform implementations.
//
@@ -57,6 +58,7 @@ class OZONE_EXPORT OzonePlatform {
virtual ui::CursorFactoryOzone* GetCursorFactoryOzone() = 0;
virtual ui::GpuPlatformSupport* GetGpuPlatformSupport() = 0;
virtual ui::GpuPlatformSupportHost* GetGpuPlatformSupportHost() = 0;
+ virtual scoped_ptr<SystemInputInjector> CreateSystemInputInjector() = 0;
virtual scoped_ptr<PlatformWindow> CreatePlatformWindow(
PlatformWindowDelegate* delegate,
const gfx::Rect& bounds) = 0;
« no previous file with comments | « ui/ozone/platform/test/ozone_platform_test.cc ('k') | ui/ozone/public/system_input_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698