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

Side by Side Diff: ui/ozone/platform/cast/gl_surface_cast.h

Issue 2801163002: Deletes NativeViewGLSurfaceEGL::Initialize(gfx::VSyncProvider). (Closed)
Patch Set: fixes formatting Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PLATFORM_CAST_GL_SURFACE_CAST_H_ 5 #ifndef UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_
6 #define UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_ 6 #define UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/geometry/size.h" 9 #include "ui/gfx/geometry/size.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 24 matching lines...) Expand all
35 const gfx::Rect& bounds_rect, 35 const gfx::Rect& bounds_rect,
36 const gfx::RectF& crop_rect) override; 36 const gfx::RectF& crop_rect) override;
37 EGLConfig GetConfig() override; 37 EGLConfig GetConfig() override;
38 38
39 protected: 39 protected:
40 ~GLSurfaceCast() override; 40 ~GLSurfaceCast() override;
41 41
42 gfx::AcceleratedWidget widget_; 42 gfx::AcceleratedWidget widget_;
43 GLOzoneEglCast* parent_; 43 GLOzoneEglCast* parent_;
44 bool supports_swap_buffer_with_bounds_; 44 bool supports_swap_buffer_with_bounds_;
45 std::unique_ptr<gfx::VSyncProvider> vsync_provider_;
45 46
46 private: 47 private:
47 DISALLOW_COPY_AND_ASSIGN(GLSurfaceCast); 48 DISALLOW_COPY_AND_ASSIGN(GLSurfaceCast);
48 }; 49 };
49 50
50 } // namespace ui 51 } // namespace ui
51 52
52 #endif // UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_ 53 #endif // UI_OZONE_PLATFORM_CAST_GL_SURFACE_CAST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698