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

Unified Diff: mojo/examples/compositor_app/compositor_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/browser/browser.cc ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/compositor_app/compositor_app.cc
diff --git a/mojo/examples/compositor_app/compositor_app.cc b/mojo/examples/compositor_app/compositor_app.cc
index 2bbd97cd09813f56bbb5d235949dcc11778cc0cc..279fe75ea9aba942304bf58193e470dec8df5bb1 100644
--- a/mojo/examples/compositor_app/compositor_app.cc
+++ b/mojo/examples/compositor_app/compositor_app.cc
@@ -27,7 +27,7 @@ class SampleApp : public ApplicationDelegate, public NativeViewportClient {
SampleApp() : weak_factory_(this) {}
virtual ~SampleApp() {}
- virtual void Initialize(ApplicationImpl* app) OVERRIDE {
+ virtual void Initialize(ApplicationImpl* app) override {
app->ConnectToService("mojo:mojo_native_viewport_service", &viewport_);
viewport_.set_client(this);
viewport_->Create(Size::From(gfx::Size(800, 600)),
@@ -39,15 +39,15 @@ class SampleApp : public ApplicationDelegate, public NativeViewportClient {
app->ConnectToService("mojo:mojo_native_viewport_service", &gpu_service_);
}
- virtual void OnDestroyed() OVERRIDE { base::MessageLoop::current()->Quit(); }
+ virtual void OnDestroyed() override { base::MessageLoop::current()->Quit(); }
- virtual void OnSizeChanged(SizePtr size) OVERRIDE {
+ virtual void OnSizeChanged(SizePtr size) override {
if (host_)
host_->SetSize(size.To<gfx::Size>());
}
virtual void OnEvent(EventPtr event,
- const mojo::Callback<void()>& callback) OVERRIDE {
+ const mojo::Callback<void()>& callback) override {
callback.Run();
}
« no previous file with comments | « mojo/examples/browser/browser.cc ('k') | mojo/examples/compositor_app/compositor_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698