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

Unified Diff: ui/ozone/demo/gl_renderer.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/test/run_all_unittests.cc ('k') | ui/ozone/demo/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/demo/gl_renderer.h
diff --git a/ui/ozone/demo/gl_renderer.h b/ui/ozone/demo/gl_renderer.h
index 2377cf55b88140c5bddd07abc84aab310ef6b5d0..c67dc56a6aeaf0dade8ff69ac5bbcd2d01db7253 100644
--- a/ui/ozone/demo/gl_renderer.h
+++ b/ui/ozone/demo/gl_renderer.h
@@ -11,17 +11,17 @@
#include "ui/gfx/swap_result.h"
#include "ui/ozone/demo/renderer_base.h"
-namespace gfx {
+namespace gl {
class GLContext;
class GLSurface;
-} // namespace gfx
+} // namespace gl
namespace ui {
class GlRenderer : public RendererBase {
public:
GlRenderer(gfx::AcceleratedWidget widget,
- const scoped_refptr<gfx::GLSurface>& surface,
+ const scoped_refptr<gl::GLSurface>& surface,
const gfx::Size& size);
~GlRenderer() override;
@@ -32,8 +32,8 @@ class GlRenderer : public RendererBase {
virtual void RenderFrame();
virtual void PostRenderFrameTask(gfx::SwapResult result);
- scoped_refptr<gfx::GLSurface> surface_;
- scoped_refptr<gfx::GLContext> context_;
+ scoped_refptr<gl::GLSurface> surface_;
+ scoped_refptr<gl::GLContext> context_;
private:
base::WeakPtrFactory<GlRenderer> weak_ptr_factory_;
« no previous file with comments | « ui/message_center/test/run_all_unittests.cc ('k') | ui/ozone/demo/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698