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

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

Issue 2317913003: ui/ozone: Fix some typos. (Closed)
Patch Set: Fix one more typo in Ozone DRM. Created 4 years, 3 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
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_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ 5 #ifndef UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_
6 #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ 6 #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 27 matching lines...) Expand all
38 // or SurfaceOzoneCanvas for that window. The platform can support software, GL, 38 // or SurfaceOzoneCanvas for that window. The platform can support software, GL,
39 // or both for painting on the window. The following functionality is specific 39 // or both for painting on the window. The following functionality is specific
40 // to the drawing mode and may not have any meaningful implementation in the 40 // to the drawing mode and may not have any meaningful implementation in the
41 // other mode. An implementation must provide functionality for at least one 41 // other mode. An implementation must provide functionality for at least one
42 // mode. 42 // mode.
43 // 43 //
44 // 1) Accelerated Drawing (GL path): 44 // 1) Accelerated Drawing (GL path):
45 // 45 //
46 // The following functions are specific to GL: 46 // The following functions are specific to GL:
47 // - GetAllowedGLImplementations 47 // - GetAllowedGLImplementations
48 // - GetOzoneGLementation (along with the associated GLOzone) 48 // - GetGLOzone (along with the associated GLOzone)
49 // 49 //
50 // 2) Software Drawing (Skia): 50 // 2) Software Drawing (Skia):
51 // 51 //
52 // The following function is specific to the software path: 52 // The following function is specific to the software path:
53 // - CreateCanvasForWidget 53 // - CreateCanvasForWidget
54 // 54 //
55 // The accelerated path can optionally provide support for the software drawing 55 // The accelerated path can optionally provide support for the software drawing
56 // path. 56 // path.
57 // 57 //
58 // The remaining functions are not covered since they are needed in both drawing 58 // The remaining functions are not covered since they are needed in both drawing
59 // modes (See comments bellow for descriptions). 59 // modes (See comments below for descriptions).
60 class OZONE_BASE_EXPORT SurfaceFactoryOzone { 60 class OZONE_BASE_EXPORT SurfaceFactoryOzone {
61 public: 61 public:
62 // Returns a list of allowed GL implementations. The default implementation 62 // Returns a list of allowed GL implementations. The default implementation
63 // will be the first item. 63 // will be the first item.
64 virtual std::vector<gl::GLImplementation> GetAllowedGLImplementations(); 64 virtual std::vector<gl::GLImplementation> GetAllowedGLImplementations();
65 65
66 // Returns the GLOzone to use for the specified GL implementation, or null if 66 // Returns the GLOzone to use for the specified GL implementation, or null if
67 // GL implementation doesn't exist. 67 // GL implementation doesn't exist.
68 virtual GLOzone* GetGLOzone(gl::GLImplementation implemenation); 68 virtual GLOzone* GetGLOzone(gl::GLImplementation implementation);
69 69
70 // DEPRECATED(kylechar): Implement GLOzoneEGL instead. 70 // DEPRECATED(kylechar): Implement GLOzoneEGL instead.
71 virtual intptr_t GetNativeDisplay(); 71 virtual intptr_t GetNativeDisplay();
72 72
73 // DEPRECATED(kylechar): Implement GLOzone instead. 73 // DEPRECATED(kylechar): Implement GLOzone instead.
74 virtual scoped_refptr<gl::GLSurface> CreateViewGLSurface( 74 virtual scoped_refptr<gl::GLSurface> CreateViewGLSurface(
75 gl::GLImplementation implementation, 75 gl::GLImplementation implementation,
76 gfx::AcceleratedWidget widget); 76 gfx::AcceleratedWidget widget);
77 77
78 // DEPRECATED(kylechar): Implement GLOzone instead. 78 // DEPRECATED(kylechar): Implement GLOzone instead.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 SurfaceFactoryOzone(); 122 SurfaceFactoryOzone();
123 virtual ~SurfaceFactoryOzone(); 123 virtual ~SurfaceFactoryOzone();
124 124
125 private: 125 private:
126 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryOzone); 126 DISALLOW_COPY_AND_ASSIGN(SurfaceFactoryOzone);
127 }; 127 };
128 128
129 } // namespace ui 129 } // namespace ui
130 130
131 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_ 131 #endif // UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698