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

Unified Diff: examples/ui/noodles/noodles_app.cc

Issue 1558813002: Add a multi-threaded rendering example. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-15
Patch Set: address feedback Created 4 years, 11 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 | « examples/ui/noodles/noodles_app.h ('k') | examples/ui/noodles/noodles_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/ui/noodles/noodles_app.cc
diff --git a/examples/ui/shapes/shapes_app.cc b/examples/ui/noodles/noodles_app.cc
similarity index 67%
copy from examples/ui/shapes/shapes_app.cc
copy to examples/ui/noodles/noodles_app.cc
index 86443a1a0c37e0eb3f10669fc048b7df278b1176..31a3c4c6474eda8277b216c2a5b513a76ff3445f 100644
--- a/examples/ui/shapes/shapes_app.cc
+++ b/examples/ui/noodles/noodles_app.cc
@@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "examples/ui/shapes/shapes_app.h"
+#include "examples/ui/noodles/noodles_app.h"
-#include "examples/ui/shapes/shapes_view.h"
+#include "examples/ui/noodles/noodles_view.h"
namespace examples {
-ShapesApp::ShapesApp() {}
+NoodlesApp::NoodlesApp() {}
-ShapesApp::~ShapesApp() {}
+NoodlesApp::~NoodlesApp() {}
-bool ShapesApp::CreateView(
+bool NoodlesApp::CreateView(
const std::string& connection_url,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services,
const mojo::ui::ViewProvider::CreateViewCallback& callback) {
- new ShapesView(app_impl(), callback);
+ new NoodlesView(app_impl(), callback);
return true;
}
« no previous file with comments | « examples/ui/noodles/noodles_app.h ('k') | examples/ui/noodles/noodles_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698