Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index 9054d7c7efef1d024f0dae00ce086591ee3684ad..90b659198fc96e99805eff0f8cee77ed8870b625 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -110,6 +110,13 @@ class GFX_EXPORT Display { |
// True if the display contains valid display id. |
bool is_valid() const { return id_ != kInvalidDisplayID; } |
+ // Sets the display which is mirrored on this display. |
+ void set_mirrored_display_id(int64 id) { mirrored_display_id_ = id; } |
+ |
+ // Returns the display which is mirrored on this display and kInvalidDisplayID |
+ // otherwise. |
+ int64 mirrored_display_id() const { return mirrored_display_id_; } |
oshima
2015/03/04 00:54:36
This is low level information that none of chrome
|
+ |
// True if the display corresponds to internal panel. |
bool IsInternal() const; |
@@ -126,6 +133,7 @@ class GFX_EXPORT Display { |
float device_scale_factor_; |
Rotation rotation_; |
TouchSupport touch_support_; |
+ int64 mirrored_display_id_; |
}; |
} // namespace gfx |