Index: services/ui/ws/display_manager.h |
diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h |
index 3d2d37000605088e81be3f0d074b89951cead4f9..4fe8c9cad855b32a89073f757229d42343ea179f 100644 |
--- a/services/ui/ws/display_manager.h |
+++ b/services/ui/ws/display_manager.h |
@@ -47,6 +47,9 @@ class DisplayManager : public UserIdTrackerObserver, |
// Adds/removes a Display. DisplayManager owns the Displays. |
// TODO(sky): make add take a scoped_ptr. |
void AddDisplay(Display* display); |
+ // Called when the window manager explicitly adds a new display. |
+ void AddDisplayForWindowManager(const display::Display& display, |
+ const display::ViewportMetrics& metrics); |
void DestroyDisplay(Display* display); |
void DestroyAllDisplays(); |
const std::set<Display*>& displays() { return displays_; } |