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

Unified Diff: ash/host/ash_window_tree_host_win.cc

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_ozone.cc ('k') | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_win.cc
diff --git a/ash/host/ash_window_tree_host_win.cc b/ash/host/ash_window_tree_host_win.cc
index aa6be930642e57395efddb8d333eb59f615220a9..22199144f3cdff0b20b82efa1570cc6ad1178f9e 100644
--- a/ash/host/ash_window_tree_host_win.cc
+++ b/ash/host/ash_window_tree_host_win.cc
@@ -32,7 +32,7 @@ class AshWindowTreeHostWin : public AshWindowTreeHost,
private:
// AshWindowTreeHost:
- virtual void ToggleFullScreen() OVERRIDE {
+ virtual void ToggleFullScreen() override {
gfx::Rect target_rect;
if (!fullscreen_) {
fullscreen_ = true;
@@ -66,19 +66,19 @@ class AshWindowTreeHostWin : public AshWindowTreeHost,
target_rect.height(),
SWP_NOZORDER | SWP_NOACTIVATE | SWP_FRAMECHANGED);
}
- virtual bool ConfineCursorToRootWindow() OVERRIDE { return false; }
- virtual void UnConfineCursor() OVERRIDE { NOTIMPLEMENTED(); }
+ virtual bool ConfineCursorToRootWindow() override { return false; }
+ virtual void UnConfineCursor() override { NOTIMPLEMENTED(); }
virtual void SetRootWindowTransformer(
scoped_ptr<RootWindowTransformer> transformer) {
transformer_helper_.SetRootWindowTransformer(transformer.Pass());
}
- virtual gfx::Insets GetHostInsets() const OVERRIDE {
+ virtual gfx::Insets GetHostInsets() const override {
return transformer_helper_.GetHostInsets();
}
- virtual aura::WindowTreeHost* AsWindowTreeHost() OVERRIDE { return this; }
+ virtual aura::WindowTreeHost* AsWindowTreeHost() override { return this; }
// WindowTreeHostWin:
- virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {
+ virtual void SetBounds(const gfx::Rect& bounds) override {
if (fullscreen_) {
saved_window_rect_.right = saved_window_rect_.left + bounds.width();
saved_window_rect_.bottom = saved_window_rect_.top + bounds.height();
@@ -86,16 +86,16 @@ class AshWindowTreeHostWin : public AshWindowTreeHost,
}
WindowTreeHostWin::SetBounds(bounds);
}
- virtual void SetRootTransform(const gfx::Transform& transform) OVERRIDE {
+ virtual void SetRootTransform(const gfx::Transform& transform) override {
transformer_helper_.SetTransform(transform);
}
gfx::Transform GetRootTransform() const {
return transformer_helper_.GetTransform();
}
- virtual gfx::Transform GetInverseRootTransform() const OVERRIDE {
+ virtual gfx::Transform GetInverseRootTransform() const override {
return transformer_helper_.GetInverseTransform();
}
- virtual void UpdateRootWindowSize(const gfx::Size& host_size) OVERRIDE {
+ virtual void UpdateRootWindowSize(const gfx::Size& host_size) override {
transformer_helper_.UpdateWindowSize(host_size);
}
« no previous file with comments | « ash/host/ash_window_tree_host_ozone.cc ('k') | ash/host/ash_window_tree_host_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698