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

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

Issue 131493005: [Ozone] Removing Stub SFO implementation & CreateTestHelper from SFO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider( 130 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
131 gfx::AcceleratedWidget w) = 0; 131 gfx::AcceleratedWidget w) = 0;
132 132
133 // Returns an array of EGL properties, which can be used in any EGL function 133 // Returns an array of EGL properties, which can be used in any EGL function
134 // used to select a display configuration. Note that all properties should be 134 // used to select a display configuration. Note that all properties should be
135 // immediately followed by the corresponding desired value and array should be 135 // immediately followed by the corresponding desired value and array should be
136 // terminated with EGL_NONE. Ownership of the array is not transferred to 136 // terminated with EGL_NONE. Ownership of the array is not transferred to
137 // caller. desired_list contains list of desired EGL properties and values. 137 // caller. desired_list contains list of desired EGL properties and values.
138 virtual const int32* GetEGLSurfaceProperties(const int32* desired_list); 138 virtual const int32* GetEGLSurfaceProperties(const int32* desired_list);
139 139
140 // Create a default SufaceFactoryOzone implementation useful for tests.
141 static SurfaceFactoryOzone* CreateTestHelper();
142
143 private: 140 private:
144 static SurfaceFactoryOzone* impl_; // not owned 141 static SurfaceFactoryOzone* impl_; // not owned
145 }; 142 };
146 143
147 } // namespace gfx 144 } // namespace gfx
148 145
149 #endif // UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_ 146 #endif // UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698