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

Side by Side Diff: ash/host/ash_remote_window_tree_host_win.h

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 unified diff | Download patch
« no previous file with comments | « ash/high_contrast/high_contrast_controller.h ('k') | ash/host/ash_window_tree_host_ozone.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
6 #define ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_ 6 #define ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/host/ash_window_tree_host.h" 11 #include "ash/host/ash_window_tree_host.h"
12 #include "ash/host/transformer_helper.h" 12 #include "ash/host/transformer_helper.h"
13 #include "ui/aura/remote_window_tree_host_win.h" 13 #include "ui/aura/remote_window_tree_host_win.h"
14 14
15 namespace ash { 15 namespace ash {
16 16
17 class ASH_EXPORT AshRemoteWindowTreeHostWin 17 class ASH_EXPORT AshRemoteWindowTreeHostWin
18 : public AshWindowTreeHost, 18 : public AshWindowTreeHost,
19 public aura::RemoteWindowTreeHostWin { 19 public aura::RemoteWindowTreeHostWin {
20 public: 20 public:
21 explicit AshRemoteWindowTreeHostWin(HWND remote_hwnd); 21 explicit AshRemoteWindowTreeHostWin(HWND remote_hwnd);
22 22
23 private: 23 private:
24 virtual ~AshRemoteWindowTreeHostWin(); 24 virtual ~AshRemoteWindowTreeHostWin();
25 25
26 // AshWindowTreeHost: 26 // AshWindowTreeHost:
27 virtual void ToggleFullScreen() OVERRIDE; 27 virtual void ToggleFullScreen() override;
28 virtual bool ConfineCursorToRootWindow() OVERRIDE; 28 virtual bool ConfineCursorToRootWindow() override;
29 virtual void UnConfineCursor() OVERRIDE; 29 virtual void UnConfineCursor() override;
30 virtual void SetRootWindowTransformer( 30 virtual void SetRootWindowTransformer(
31 scoped_ptr<RootWindowTransformer> transformer) OVERRIDE; 31 scoped_ptr<RootWindowTransformer> transformer) override;
32 virtual gfx::Insets GetHostInsets() const OVERRIDE; 32 virtual gfx::Insets GetHostInsets() const override;
33 virtual aura::WindowTreeHost* AsWindowTreeHost() OVERRIDE; 33 virtual aura::WindowTreeHost* AsWindowTreeHost() override;
34 34
35 // WindowTreeHostWin: 35 // WindowTreeHostWin:
36 virtual gfx::Transform GetRootTransform() const OVERRIDE; 36 virtual gfx::Transform GetRootTransform() const override;
37 virtual void SetRootTransform(const gfx::Transform& transform) OVERRIDE; 37 virtual void SetRootTransform(const gfx::Transform& transform) override;
38 virtual gfx::Transform GetInverseRootTransform() const OVERRIDE; 38 virtual gfx::Transform GetInverseRootTransform() const override;
39 virtual void UpdateRootWindowSize(const gfx::Size& host_size) OVERRIDE; 39 virtual void UpdateRootWindowSize(const gfx::Size& host_size) override;
40 40
41 TransformerHelper transformer_helper_; 41 TransformerHelper transformer_helper_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(AshRemoteWindowTreeHostWin); 43 DISALLOW_COPY_AND_ASSIGN(AshRemoteWindowTreeHostWin);
44 }; 44 };
45 45
46 } // namespace ash 46 } // namespace ash
47 47
48 #endif // ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_ 48 #endif // ASH_HOST_REMOTE_WINDOW_TREE_HOST_WIN_H_
OLDNEW
« no previous file with comments | « ash/high_contrast/high_contrast_controller.h ('k') | ash/host/ash_window_tree_host_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698