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

Unified Diff: mojo/examples/surfaces_app/surfaces_app.cc

Issue 623573002: Mojo: Convert the remaining OVERRIDEs to override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/surfaces_app/child_impl.h ('k') | mojo/examples/window_manager/debug_panel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/surfaces_app/surfaces_app.cc
diff --git a/mojo/examples/surfaces_app/surfaces_app.cc b/mojo/examples/surfaces_app/surfaces_app.cc
index d4e9b4a28f6e0fe9928728f376bccca5c4bdaab4..a779c164f51c779c3f50ed0ca36fefe08d6d6dd2 100644
--- a/mojo/examples/surfaces_app/surfaces_app.cc
+++ b/mojo/examples/surfaces_app/surfaces_app.cc
@@ -35,7 +35,7 @@ class SurfacesApp : public ApplicationDelegate,
// ApplicationDelegate implementation
virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) OVERRIDE {
+ ApplicationConnection* connection) override {
connection->ConnectToService("mojo:mojo_native_viewport_service",
&viewport_);
viewport_.set_client(this);
@@ -102,14 +102,14 @@ class SurfacesApp : public ApplicationDelegate,
}
// SurfaceClient implementation.
- virtual void ReturnResources(Array<ReturnedResourcePtr> resources) OVERRIDE {
+ virtual void ReturnResources(Array<ReturnedResourcePtr> resources) override {
DCHECK(!resources.size());
}
// NativeViewportClient implementation.
- virtual void OnSizeChanged(mojo::SizePtr size) OVERRIDE {}
- virtual void OnDestroyed() OVERRIDE {}
+ virtual void OnSizeChanged(mojo::SizePtr size) override {}
+ virtual void OnDestroyed() override {}
virtual void OnEvent(mojo::EventPtr event,
- const mojo::Callback<void()>& callback) OVERRIDE {
+ const mojo::Callback<void()>& callback) override {
callback.Run();
}
« no previous file with comments | « mojo/examples/surfaces_app/child_impl.h ('k') | mojo/examples/window_manager/debug_panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698