OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/dri/ozone_platform_dri.h" | 5 #include "ui/ozone/platform/dri/ozone_platform_dri.h" |
6 | 6 |
7 #include "ui/events/ozone/device/device_manager.h" | 7 #include "ui/events/ozone/device/device_manager.h" |
8 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 8 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
9 #include "ui/events/ozone/evdev/event_factory_evdev.h" | 9 #include "ui/events/ozone/evdev/event_factory_evdev.h" |
10 #include "ui/ozone/ime/input_method_context_factory_ozone.h" | 10 #include "ui/ozone/ime/input_method_context_factory_ozone.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 ui::CursorFactoryEvdevDri cursor_factory_ozone_; | 71 ui::CursorFactoryEvdevDri cursor_factory_ozone_; |
72 ui::EventFactoryEvdev event_factory_ozone_; | 72 ui::EventFactoryEvdev event_factory_ozone_; |
73 // This creates a minimal input context. | 73 // This creates a minimal input context. |
74 ui::InputMethodContextFactoryOzone input_method_context_factory_ozone_; | 74 ui::InputMethodContextFactoryOzone input_method_context_factory_ozone_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(OzonePlatformDri); | 76 DISALLOW_COPY_AND_ASSIGN(OzonePlatformDri); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace | 79 } // namespace |
80 | 80 |
81 OzonePlatform* CreateOzonePlatformDri() { return new OzonePlatformDri; } | 81 OzonePlatform* CreateOzonePlatformDriForUI() { return new OzonePlatformDri; } |
| 82 OzonePlatform* CreateOzonePlatformDriForGPU() { return NULL; } |
82 | 83 |
83 } // namespace ui | 84 } // namespace ui |
OLD | NEW |