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

Unified Diff: mojo/services/native_viewport/platform_viewport_win.cc

Issue 634483003: replace OVERRIDE and FINAL with override and final in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove compiler_specific.h inclusions Created 6 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: mojo/services/native_viewport/platform_viewport_win.cc
diff --git a/mojo/services/native_viewport/platform_viewport_win.cc b/mojo/services/native_viewport/platform_viewport_win.cc
index 222711222c042846266d3a89731f940539339fb4..91c980cdcfce9797c56d1c8c1c9734de7181d131 100644
--- a/mojo/services/native_viewport/platform_viewport_win.cc
+++ b/mojo/services/native_viewport/platform_viewport_win.cc
@@ -25,70 +25,70 @@ class PlatformViewportWin : public PlatformViewport,
private:
// Overridden from PlatformViewport:
- virtual void Init(const gfx::Rect& bounds) OVERRIDE {
+ virtual void Init(const gfx::Rect& bounds) override {
platform_window_.reset(new ui::WinWindow(this, bounds));
}
- virtual void Show() OVERRIDE {
+ virtual void Show() override {
platform_window_->Show();
}
- virtual void Hide() OVERRIDE {
+ virtual void Hide() override {
platform_window_->Hide();
}
- virtual void Close() OVERRIDE {
+ virtual void Close() override {
platform_window_->Close();
}
- virtual gfx::Size GetSize() OVERRIDE {
+ virtual gfx::Size GetSize() override {
return platform_window_->GetBounds().size();
}
- virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {
+ virtual void SetBounds(const gfx::Rect& bounds) override {
platform_window_->SetBounds(bounds);
}
- virtual void SetCapture() OVERRIDE {
+ virtual void SetCapture() override {
platform_window_->SetCapture();
}
- virtual void ReleaseCapture() OVERRIDE {
+ virtual void ReleaseCapture() override {
platform_window_->ReleaseCapture();
}
// ui::PlatformWindowDelegate:
- virtual void OnBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE {
+ virtual void OnBoundsChanged(const gfx::Rect& new_bounds) override {
delegate_->OnBoundsChanged(new_bounds);
}
- virtual void OnDamageRect(const gfx::Rect& damaged_region) OVERRIDE {
+ virtual void OnDamageRect(const gfx::Rect& damaged_region) override {
}
- virtual void DispatchEvent(ui::Event* event) OVERRIDE {
+ virtual void DispatchEvent(ui::Event* event) override {
delegate_->OnEvent(event);
}
- virtual void OnCloseRequest() OVERRIDE {
+ virtual void OnCloseRequest() override {
platform_window_->Close();
}
- virtual void OnClosed() OVERRIDE {
+ virtual void OnClosed() override {
delegate_->OnDestroyed();
}
- virtual void OnWindowStateChanged(ui::PlatformWindowState state) OVERRIDE {
+ virtual void OnWindowStateChanged(ui::PlatformWindowState state) override {
}
- virtual void OnLostCapture() OVERRIDE {
+ virtual void OnLostCapture() override {
}
virtual void OnAcceleratedWidgetAvailable(
- gfx::AcceleratedWidget widget) OVERRIDE {
+ gfx::AcceleratedWidget widget) override {
delegate_->OnAcceleratedWidgetAvailable(widget);
}
- virtual void OnActivationChanged(bool active) OVERRIDE {}
+ virtual void OnActivationChanged(bool active) override {}
scoped_ptr<ui::PlatformWindow> platform_window_;
Delegate* delegate_;
« no previous file with comments | « mojo/services/native_viewport/platform_viewport_ozone.cc ('k') | mojo/services/native_viewport/platform_viewport_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698