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

Unified Diff: examples/ui/spinning_cube/main.cc

Issue 1411103004: mozart: Port the spinning cube example. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: applied review comments Created 5 years, 2 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
Index: examples/ui/spinning_cube/main.cc
diff --git a/services/tracing/main.cc b/examples/ui/spinning_cube/main.cc
similarity index 61%
copy from services/tracing/main.cc
copy to examples/ui/spinning_cube/main.cc
index 76506d704040f73854d59ff4ec9caebc6d544930..fcf0bc270eefc089dc0123b19aceb5973f6c63c2 100644
--- a/services/tracing/main.cc
+++ b/examples/ui/spinning_cube/main.cc
@@ -1,12 +1,12 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "examples/ui/spinning_cube/spinning_cube_app.h"
#include "mojo/application/application_runner_chromium.h"
#include "mojo/public/c/system/main.h"
-#include "services/tracing/tracing_app.h"
MojoResult MojoMain(MojoHandle application_request) {
- mojo::ApplicationRunnerChromium runner(new tracing::TracingApp);
+ mojo::ApplicationRunnerChromium runner(new examples::SpinningCubeApp);
return runner.Run(application_request);
}

Powered by Google App Engine
This is Rietveld 408576698