| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef GPU_IPC_COMMON_SURFACE_HANDLE_H_ | 5 #ifndef GPU_IPC_COMMON_SURFACE_HANDLE_H_ |
| 6 #define GPU_IPC_COMMON_SURFACE_HANDLE_H_ | 6 #define GPU_IPC_COMMON_SURFACE_HANDLE_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" |
| 8 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 9 | 10 |
| 10 namespace gpu { | 11 namespace gpu { |
| 11 | 12 |
| 12 // TODO(piman): remove PluginWindowHandle and move here when NPAPI is gone. | 13 // TODO(piman): remove PluginWindowHandle and move here when NPAPI is gone. |
| 13 using SurfaceHandle = gfx::PluginWindowHandle; | 14 using SurfaceHandle = gfx::PluginWindowHandle; |
| 14 const SurfaceHandle kNullSurfaceHandle = gfx::kNullPluginWindow; | 15 const SurfaceHandle kNullSurfaceHandle = gfx::kNullPluginWindow; |
| 15 | 16 |
| 16 } // namespace gpu | 17 } // namespace gpu |
| 17 | 18 |
| 18 #endif // GPU_IPC_COMMON_SURFACE_HANDLE_H_ | 19 #endif // GPU_IPC_COMMON_SURFACE_HANDLE_H_ |
| OLD | NEW |