OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/ozone/platform/caca/ozone_platform_caca.h" | 5 #include "ui/ozone/platform/caca/ozone_platform_caca.h" |
6 | 6 |
7 #include "ui/ozone/ozone_platform.h" | 7 #include "ui/ozone/ozone_platform.h" |
8 #include "ui/ozone/platform/caca/caca_connection.h" | 8 #include "ui/ozone/platform/caca/caca_connection.h" |
9 #include "ui/ozone/platform/caca/caca_event_factory.h" | 9 #include "ui/ozone/platform/caca/caca_event_factory.h" |
10 #include "ui/ozone/platform/caca/caca_surface_factory.h" | 10 #include "ui/ozone/platform/caca/caca_surface_factory.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 // OzonePlatform: | 27 // OzonePlatform: |
28 virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE { | 28 virtual ui::SurfaceFactoryOzone* GetSurfaceFactoryOzone() OVERRIDE { |
29 return surface_factory_ozone_.get(); | 29 return surface_factory_ozone_.get(); |
30 } | 30 } |
31 virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE { | 31 virtual EventFactoryOzone* GetEventFactoryOzone() OVERRIDE { |
32 return event_factory_ozone_.get(); | 32 return event_factory_ozone_.get(); |
33 } | 33 } |
34 virtual CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE { | 34 virtual CursorFactoryOzone* GetCursorFactoryOzone() OVERRIDE { |
35 return cursor_factory_ozone_.get(); | 35 return cursor_factory_ozone_.get(); |
36 } | 36 } |
| 37 virtual GpuPlatformSupport* GetGpuPlatformSupport() OVERRIDE { |
| 38 return NULL; // no GPU support |
| 39 } |
| 40 virtual GpuPlatformSupportHost* GetGpuPlatformSupportHost() OVERRIDE { |
| 41 return NULL; // no GPU support |
| 42 } |
37 | 43 |
38 #if defined(OS_CHROMEOS) | 44 #if defined(OS_CHROMEOS) |
39 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() | 45 virtual scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() |
40 OVERRIDE { | 46 OVERRIDE { |
41 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone()); | 47 return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone()); |
42 } | 48 } |
43 virtual scoped_ptr<TouchscreenDeviceManager> | 49 virtual scoped_ptr<TouchscreenDeviceManager> |
44 CreateTouchscreenDeviceManager() OVERRIDE { | 50 CreateTouchscreenDeviceManager() OVERRIDE { |
45 return scoped_ptr<TouchscreenDeviceManager>( | 51 return scoped_ptr<TouchscreenDeviceManager>( |
46 new TouchscreenDeviceManagerOzone()); | 52 new TouchscreenDeviceManagerOzone()); |
(...skipping 15 matching lines...) Expand all Loading... |
62 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_; | 68 scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_; |
63 | 69 |
64 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca); | 70 DISALLOW_COPY_AND_ASSIGN(OzonePlatformCaca); |
65 }; | 71 }; |
66 | 72 |
67 } // namespace | 73 } // namespace |
68 | 74 |
69 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; } | 75 OzonePlatform* CreateOzonePlatformCaca() { return new OzonePlatformCaca; } |
70 | 76 |
71 } // namespace ui | 77 } // namespace ui |
OLD | NEW |