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

Unified Diff: ui/gfx/win/display_manager_observer.h

Issue 1639623003: ScreenWin Testability and Restructuring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
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..0bc68e6d7034078c2880a99c29cc46923ff7fd8f
--- /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,
+ const std::vector<gfx::win::ScreenWinDisplay> new_screen_win_displays) =
+ 0;
+
+ protected:
+ virtual ~DisplayManagerObserver();
oshima 2016/01/28 18:32:05 you may inline this
robliao 2016/01/29 01:44:41 Indeed. Done.
+};
+
+} // namespace win
+} // namespace gfx
+
+#endif // UI_GFX_WIN_DISPLAY_MANAGER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698