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

Side by Side Diff: ui/gfx/ozone/surface_factory_ozone.h

Issue 106633002: GBM Ozone implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 10 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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 UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_ 5 #ifndef UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_
6 #define UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_ 6 #define UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/native_library.h" 10 #include "base/native_library.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // terminated with EGL_NONE. Ownership of the array is not transferred to 134 // terminated with EGL_NONE. Ownership of the array is not transferred to
135 // caller. desired_list contains list of desired EGL properties and values. 135 // caller. desired_list contains list of desired EGL properties and values.
136 virtual const int32* GetEGLSurfaceProperties(const int32* desired_list); 136 virtual const int32* GetEGLSurfaceProperties(const int32* desired_list);
137 137
138 // Sets the cursor image to |image|. 138 // Sets the cursor image to |image|.
139 virtual void SetCursorImage(const SkBitmap& image); 139 virtual void SetCursorImage(const SkBitmap& image);
140 140
141 // Sets the cursor position to |location|. 141 // Sets the cursor position to |location|.
142 virtual void MoveCursorTo(const gfx::Point& location); 142 virtual void MoveCursorTo(const gfx::Point& location);
143 143
144 virtual void* GetFunctionPointerFromNativeLibrary(base::NativeLibrary library,
145 const char* name);
146
144 private: 147 private:
145 static SurfaceFactoryOzone* impl_; // not owned 148 static SurfaceFactoryOzone* impl_; // not owned
146 }; 149 };
147 150
148 } // namespace gfx 151 } // namespace gfx
149 152
150 #endif // UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_ 153 #endif // UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698