Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_WIN_DISPLAY_MANAGER_CHANGE_OBSERVER_H_ | |
| 6 #define UI_GFX_WIN_DISPLAY_MANAGER_CHANGE_OBSERVER_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "ui/gfx/gfx_export.h" | |
| 11 | |
| 12 namespace gfx { | |
| 13 namespace win { | |
| 14 | |
| 15 class ScreenWinDisplay; | |
| 16 | |
| 17 class GFX_EXPORT DisplayManagerObserver { | |
| 18 public: | |
| 19 virtual void OnDisplaysChanged( | |
| 20 const std::vector<gfx::win::ScreenWinDisplay> old_screen_win_displays, | |
|
oshima
2016/01/30 00:10:33
&
robliao
2016/01/30 01:23:52
Done.
| |
| 21 const std::vector<gfx::win::ScreenWinDisplay> new_screen_win_displays) = | |
|
oshima
2016/01/30 00:10:33
&
and indent
robliao
2016/01/30 01:23:52
An indent shouldn't be necessary here as it's just
oshima
2016/02/01 19:07:37
git cl indent moves the argument to the next line.
robliao
2016/02/01 21:35:04
Sounds good. I think this is clearer this way as t
| |
| 22 0; | |
| 23 | |
| 24 protected: | |
| 25 virtual ~DisplayManagerObserver() = default; | |
| 26 }; | |
| 27 | |
| 28 } // namespace win | |
| 29 } // namespace gfx | |
| 30 | |
| 31 #endif // UI_GFX_WIN_DISPLAY_MANAGER_OBSERVER_H_ | |
| OLD | NEW |