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

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

Issue 617503003: Mojo: MOJO_OVERRIDE -> override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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/png_viewer/png_viewer.cc ('k') | mojo/examples/wget/wget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/sample_app/sample_app.cc
diff --git a/mojo/examples/sample_app/sample_app.cc b/mojo/examples/sample_app/sample_app.cc
index 4618ae89cfcb0c15d1bda85373d3637c646df300..6ffdb5975402aa9255185c0ce23c1808e3fb80ec 100644
--- a/mojo/examples/sample_app/sample_app.cc
+++ b/mojo/examples/sample_app/sample_app.cc
@@ -31,7 +31,7 @@ class SampleApp : public mojo::ApplicationDelegate,
MOJO_ALLOW_UNUSED GLES2ClientImpl* leaked = gles2_client_.release();
}
- virtual void Initialize(mojo::ApplicationImpl* app) MOJO_OVERRIDE {
+ virtual void Initialize(mojo::ApplicationImpl* app) override {
app->ConnectToService("mojo:mojo_native_viewport_service", &viewport_);
viewport_.set_client(this);
@@ -47,16 +47,16 @@ class SampleApp : public mojo::ApplicationDelegate,
viewport_->Show();
}
- virtual void OnDestroyed() MOJO_OVERRIDE { mojo::RunLoop::current()->Quit(); }
+ virtual void OnDestroyed() override { mojo::RunLoop::current()->Quit(); }
- virtual void OnSizeChanged(mojo::SizePtr size) MOJO_OVERRIDE {
+ virtual void OnSizeChanged(mojo::SizePtr size) override {
assert(size);
if (gles2_client_)
gles2_client_->SetSize(*size);
}
virtual void OnEvent(mojo::EventPtr event,
- const mojo::Callback<void()>& callback) MOJO_OVERRIDE {
+ const mojo::Callback<void()>& callback) override {
assert(event);
if (event->location_data && event->location_data->in_view_location)
gles2_client_->HandleInputEvent(*event);
« no previous file with comments | « mojo/examples/png_viewer/png_viewer.cc ('k') | mojo/examples/wget/wget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698