| 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/dri/ozone_platform_gbm.h" | 5 #include "ui/ozone/platform/dri/ozone_platform_gbm.h" |
| 6 | 6 |
| 7 #include <dlfcn.h> | 7 #include <dlfcn.h> |
| 8 #include <gbm.h> | 8 #include <gbm.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 | 10 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 #if defined(USE_XKBCOMMON) | 189 #if defined(USE_XKBCOMMON) |
| 190 XkbEvdevCodes xkb_evdev_code_converter_; | 190 XkbEvdevCodes xkb_evdev_code_converter_; |
| 191 #endif | 191 #endif |
| 192 | 192 |
| 193 DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm); | 193 DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm); |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 } // namespace | 196 } // namespace |
| 197 | 197 |
| 198 OzonePlatform* CreateOzonePlatformGbm() { | 198 OzonePlatform* CreateOzonePlatformGbm() { |
| 199 CommandLine* cmd = CommandLine::ForCurrentProcess(); | 199 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); |
| 200 return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless)); | 200 return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless)); |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace ui | 203 } // namespace ui |
| OLD | NEW |