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

Unified Diff: mojo/examples/sample_app/gles2_client_impl.h

Issue 409263002: Mojo: Get rid of ui::gfx from sample_app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/examples/sample_app/DEPS ('k') | mojo/examples/sample_app/gles2_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/sample_app/gles2_client_impl.h
diff --git a/mojo/examples/sample_app/gles2_client_impl.h b/mojo/examples/sample_app/gles2_client_impl.h
index effba5d6db92c38920987b252dec107b5c4d92dc..dbccbfb17c3427d9b3ebfae83b8d0c9a0313b231 100644
--- a/mojo/examples/sample_app/gles2_client_impl.h
+++ b/mojo/examples/sample_app/gles2_client_impl.h
@@ -7,9 +7,8 @@
#include "mojo/examples/sample_app/spinning_cube.h"
#include "mojo/public/c/gles2/gles2.h"
+#include "mojo/services/public/interfaces/geometry/geometry.mojom.h"
#include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom.h"
-#include "ui/gfx/point_f.h"
-#include "ui/gfx/size.h"
namespace examples {
@@ -31,10 +30,10 @@ class GLES2ClientImpl {
void CancelAnimationFrames();
MojoTimeTicks last_time_;
- gfx::Size size_;
+ mojo::Size size_;
SpinningCube cube_;
- gfx::PointF capture_point_;
- gfx::PointF last_drag_point_;
+ mojo::Point capture_point_;
+ mojo::Point last_drag_point_;
MojoTimeTicks drag_start_time_;
bool getting_animation_frames_;
« no previous file with comments | « mojo/examples/sample_app/DEPS ('k') | mojo/examples/sample_app/gles2_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698