| 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/logging.h" | 6 #include "base/logging.h" |
| 7 #include "base/trace_event/trace_event.h" | 7 #include "base/trace_event/trace_event.h" |
| 8 #include "ui/events/devices/device_data_manager.h" | 8 #include "ui/events/devices/device_data_manager.h" |
| 9 #include "ui/ozone/platform_object.h" | 9 #include "ui/ozone/platform_object.h" |
| 10 #include "ui/ozone/platform_selection.h" | 10 #include "ui/ozone/platform_selection.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 } | 87 } |
| 88 } | 88 } |
| 89 | 89 |
| 90 // static | 90 // static |
| 91 OzonePlatform* OzonePlatform::instance_; | 91 OzonePlatform* OzonePlatform::instance_; |
| 92 | 92 |
| 93 // Convenience methods to facilitate transitionning to new API. | 93 // Convenience methods to facilitate transitionning to new API. |
| 94 void OzonePlatform::InitializeUI(const InitParams& args) { | 94 void OzonePlatform::InitializeUI(const InitParams& args) { |
| 95 InitializeUI(); | 95 InitializeUI(); |
| 96 } | 96 } |
| 97 |
| 97 void OzonePlatform::InitializeGPU(const InitParams& args) { | 98 void OzonePlatform::InitializeGPU(const InitParams& args) { |
| 98 InitializeGPU(); | 99 InitializeGPU(); |
| 99 } | 100 } |
| 100 | 101 |
| 101 IPC::MessageFilter* OzonePlatform::GetGpuMessageFilter() { | 102 IPC::MessageFilter* OzonePlatform::GetGpuMessageFilter() { |
| 102 return nullptr; | 103 return nullptr; |
| 103 } | 104 } |
| 105 |
| 106 base::MessageLoop::Type OzonePlatform::GetMessageLoopTypeForGpu() { |
| 107 return base::MessageLoop::TYPE_DEFAULT; |
| 108 } |
| 109 |
| 104 void OzonePlatform::AddInterfaces( | 110 void OzonePlatform::AddInterfaces( |
| 105 service_manager::InterfaceRegistry* registry) {} | 111 service_manager::InterfaceRegistry* registry) {} |
| 106 | 112 |
| 107 } // namespace ui | 113 } // namespace ui |
| OLD | NEW |