Chromium Code Reviews| Index: ui/gfx/win/display_manager_observer.h |
| diff --git a/ui/gfx/win/display_manager_observer.h b/ui/gfx/win/display_manager_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5cd1f11046db3e749cfe599b46f705d957477da0 |
| --- /dev/null |
| +++ b/ui/gfx/win/display_manager_observer.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_GFX_WIN_DISPLAY_MANAGER_CHANGE_OBSERVER_H_ |
| +#define UI_GFX_WIN_DISPLAY_MANAGER_CHANGE_OBSERVER_H_ |
| + |
| +#include <vector> |
| + |
| +#include "ui/gfx/gfx_export.h" |
| + |
| +namespace gfx { |
| +namespace win { |
| + |
| +class ScreenWinDisplay; |
| + |
| +class GFX_EXPORT DisplayManagerObserver { |
| + public: |
| + virtual void OnDisplaysChanged( |
| + 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.
|
| + 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
|
| + 0; |
| + |
| + protected: |
| + virtual ~DisplayManagerObserver() = default; |
| +}; |
| + |
| +} // namespace win |
| +} // namespace gfx |
| + |
| +#endif // UI_GFX_WIN_DISPLAY_MANAGER_OBSERVER_H_ |