OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_BASE_LINUX_NATIVE_SURFACE_LNUX_FACTORY_DELEGATE_ |
| 6 #define UI_BASE_LINUX_NATIVE_SURFACE_LNUX_FACTORY_DELEGATE_ |
| 7 |
| 8 #include "ui/gfx/native_widget_types.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 class NativeSurfaceLinuxFactoryDelegate { |
| 13 public: |
| 14 virtual ~NativeSurfaceLinuxFactoryDelegate(); |
| 15 virtual void InitializeHardware() = 0; |
| 16 virtual void ShutdownHardware() = 0; |
| 17 virtual gfx::AcceleratedWidget GetAcceleratedWidget( |
| 18 const gfx::GLSurfaceHandle& handle) = 0; |
| 19 virtual bool AcceleratedWidgetCanBeResized(gfx::AcceleratedWidget w) = 0; |
| 20 virtual bool LoadEGLGLES2Bindings() = 0; |
| 21 }; |
| 22 |
| 23 } // namespace ui |
| 24 |
| 25 #endif |
OLD | NEW |