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

Side by Side Diff: ash/display/mirror_window_controller.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/display/event_transformation_handler.h ('k') | ash/display/mirror_window_controller.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 6 #define ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void UpdateWindow(const DisplayInfo& display_info); 43 void UpdateWindow(const DisplayInfo& display_info);
44 44
45 // Same as above, but using existing display info 45 // Same as above, but using existing display info
46 // for the mirrored display. 46 // for the mirrored display.
47 void UpdateWindow(); 47 void UpdateWindow();
48 48
49 // Close the mirror window. 49 // Close the mirror window.
50 void Close(); 50 void Close();
51 51
52 // aura::WindowTreeHostObserver overrides: 52 // aura::WindowTreeHostObserver overrides:
53 virtual void OnHostResized(const aura::WindowTreeHost* host) OVERRIDE; 53 virtual void OnHostResized(const aura::WindowTreeHost* host) override;
54 54
55 // Return the root window used to mirror the content. NULL if the 55 // Return the root window used to mirror the content. NULL if the
56 // display is not mirrored by the compositor path. 56 // display is not mirrored by the compositor path.
57 aura::Window* GetWindow(); 57 aura::Window* GetWindow();
58 58
59 private: 59 private:
60 friend class test::MirrorWindowTestApi; 60 friend class test::MirrorWindowTestApi;
61 61
62 // Creates a RootWindowTransformer for current display 62 // Creates a RootWindowTransformer for current display
63 // configuration. 63 // configuration.
64 scoped_ptr<RootWindowTransformer> CreateRootWindowTransformer() const; 64 scoped_ptr<RootWindowTransformer> CreateRootWindowTransformer() const;
65 65
66 scoped_ptr<AshWindowTreeHost> ash_host_; 66 scoped_ptr<AshWindowTreeHost> ash_host_;
67 gfx::Size mirror_window_host_size_; 67 gfx::Size mirror_window_host_size_;
68 scoped_refptr<ui::Reflector> reflector_; 68 scoped_refptr<ui::Reflector> reflector_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController); 70 DISALLOW_COPY_AND_ASSIGN(MirrorWindowController);
71 }; 71 };
72 72
73 } // namespace ash 73 } // namespace ash
74 74
75 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_ 75 #endif // ASH_DISPLAY_MIRROR_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/event_transformation_handler.h ('k') | ash/display/mirror_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698