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

Unified Diff: mojo/ui/gl_view.h

Issue 1991853003: Make BaseView et al. take an ApplicationConnector instead of an ApplicationImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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 | « mojo/ui/ganesh_view.cc ('k') | mojo/ui/gl_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/ui/gl_view.h
diff --git a/mojo/ui/gl_view.h b/mojo/ui/gl_view.h
index 7677084f0a1981f3ca879058ec9474c9767d2e98..e6687c85fef52913c5d1d93f19e5ddc5c8b24a87 100644
--- a/mojo/ui/gl_view.h
+++ b/mojo/ui/gl_view.h
@@ -17,22 +17,22 @@ namespace ui {
// content for the scene.
class GLView : public BaseView {
public:
- GLView(mojo::ApplicationImpl* app_impl,
- mojo::InterfaceRequest<mojo::ui::ViewOwner> view_owner_request,
+ GLView(InterfaceHandle<ApplicationConnector> app_connector,
+ InterfaceRequest<ViewOwner> view_owner_request,
const std::string& label);
~GLView() override;
// Gets the GL context, never null.
- const scoped_refptr<mojo::GLContext>& gl_context() const {
+ const scoped_refptr<GLContext>& gl_context() const {
return gl_renderer_.gl_context();
}
// Gets the GL renderer, never null.
- mojo::ui::GLRenderer* gl_renderer() { return &gl_renderer_; }
+ GLRenderer* gl_renderer() { return &gl_renderer_; }
private:
- mojo::ui::GLRenderer gl_renderer_;
+ GLRenderer gl_renderer_;
MOJO_DISALLOW_COPY_AND_ASSIGN(GLView);
};
« no previous file with comments | « mojo/ui/ganesh_view.cc ('k') | mojo/ui/gl_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698