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, |
| 21 const std::vector<gfx::win::ScreenWinDisplay>& new_screen_win_displays) = |
| 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 |