Index: ui/base/linux/native_surface_linux_factory_delegate.h |
diff --git a/ui/base/linux/native_surface_linux_factory_delegate.h b/ui/base/linux/native_surface_linux_factory_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7f14ce31bff7aca9feeaf504fc8839100be92431 |
--- /dev/null |
+++ b/ui/base/linux/native_surface_linux_factory_delegate.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_BASE_LINUX_NATIVE_SURFACE_LNUX_FACTORY_DELEGATE_ |
DaveMoore
2013/04/30 17:53:42
Nit: LINUX not LNUX
rjkroege
2013/05/06 18:46:24
Done.
|
+#define UI_BASE_LINUX_NATIVE_SURFACE_LNUX_FACTORY_DELEGATE_ |
+ |
+#include "ui/gfx/native_widget_types.h" |
+ |
+namespace ui { |
+ |
+class NativeSurfaceLinuxFactoryDelegate { |
+ public: |
+ virtual ~NativeSurfaceLinuxFactoryDelegate(); |
+ virtual void InitializeHardware() = 0; |
+ virtual void ShutdownHardware() = 0; |
+ virtual gfx::AcceleratedWidget GetAcceleratedWidget( |
+ const gfx::GLSurfaceHandle& handle) = 0; |
+ virtual bool AcceleratedWidgetCanBeResized(gfx::AcceleratedWidget w) = 0; |
+ virtual bool LoadEGLGLES2Bindings() = 0; |
+}; |
+ |
+} // namespace ui |
+ |
+#endif |