Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index 8b3f346902b7b9501fd2acf3ca7d662486c2c95c..c0aafa2c5c8fbfeb644dc0b1e71ca6b5e3dc2baf 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -101,6 +101,13 @@ class UI_EXPORT Display { |
// True if the display contains valid display id. |
bool is_valid() const { return id_ != kInvalidDisplayID; } |
+ // True if the display corresponds to internal panel. |
+ bool is_internal() const; |
oshima
2013/02/12 17:38:51
IsInternal()
ynovikov
2013/02/12 21:17:47
Done.
|
+ |
+ // Gets/Sets an id of display corresponding to internal panel. |
+ static int64 internal_display_id(); |
+ static void set_internal_display_id(int64 internal_display_id); |
oshima
2013/02/12 17:38:51
same for these
ynovikov
2013/02/12 21:17:47
Done.
|
+ |
static const int64 kInvalidDisplayID; |
private: |
@@ -111,6 +118,7 @@ class UI_EXPORT Display { |
Rect bounds_in_pixel_; |
#endif |
float device_scale_factor_; |
+ static int64 internal_display_id_; |
oshima
2013/02/12 17:38:51
move this to anonymous namespace in .cc file.
ynovikov
2013/02/12 21:17:47
Done.
|
}; |
} // namespace gfx |