Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: ui/base/linux/native_surface_linux_factory_delegate.h

Issue 13886018: Add a factory and defines for native Linux surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
DaveMoore 2013/04/30 17:53:42 Nit: LINUX not LNUX
rjkroege 2013/05/06 18:46:24 Done.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698