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

Unified Diff: ash/host/transformer_helper.cc

Issue 680153002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting 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
« no previous file with comments | « ash/host/ash_window_tree_host_x11_unittest.cc ('k') | ash/ime/candidate_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/transformer_helper.cc
diff --git a/ash/host/transformer_helper.cc b/ash/host/transformer_helper.cc
index ce377cf2b25f11723084b2668c3f58737d4366e2..865960338109875ce708056ba471b541584df32e 100644
--- a/ash/host/transformer_helper.cc
+++ b/ash/host/transformer_helper.cc
@@ -27,27 +27,26 @@ class SimpleRootWindowTransformer : public RootWindowTransformer {
: root_window_(root_window), transform_(transform) {}
// RootWindowTransformer overrides:
- virtual gfx::Transform GetTransform() const override { return transform_; }
+ gfx::Transform GetTransform() const override { return transform_; }
- virtual gfx::Transform GetInverseTransform() const override {
+ gfx::Transform GetInverseTransform() const override {
gfx::Transform invert;
if (!transform_.GetInverse(&invert))
return transform_;
return invert;
}
- virtual gfx::Rect GetRootWindowBounds(const gfx::Size& host_size) const
- override {
+ gfx::Rect GetRootWindowBounds(const gfx::Size& host_size) const override {
gfx::Rect bounds(host_size);
gfx::RectF new_bounds(ui::ConvertRectToDIP(root_window_->layer(), bounds));
transform_.TransformRect(&new_bounds);
return gfx::Rect(gfx::ToFlooredSize(new_bounds.size()));
}
- virtual gfx::Insets GetHostInsets() const override { return gfx::Insets(); }
+ gfx::Insets GetHostInsets() const override { return gfx::Insets(); }
private:
- virtual ~SimpleRootWindowTransformer() {}
+ ~SimpleRootWindowTransformer() override {}
const aura::Window* root_window_;
const gfx::Transform transform_;
« no previous file with comments | « ash/host/ash_window_tree_host_x11_unittest.cc ('k') | ash/ime/candidate_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698