Chromium Code Reviews| Index: ui/display/manager/display_manager.h |
| diff --git a/ui/display/manager/display_manager.h b/ui/display/manager/display_manager.h |
| index f8e6c9fe3467c6ce5f2ae8eec03ff410a7c5e3e5..4399b7d4106e5b3f521c64a4c9877858a9eed2f6 100644 |
| --- a/ui/display/manager/display_manager.h |
| +++ b/ui/display/manager/display_manager.h |
| @@ -113,6 +113,10 @@ class DISPLAY_MANAGER_EXPORT DisplayManager |
| configure_displays_ = configure_displays; |
| } |
| + void set_internal_display_has_accelerometer(bool has_accelerometer) { |
| + internal_display_has_accelerometer_ = has_accelerometer; |
| + } |
| + |
| // Returns the display id of the first display in the outupt list. |
| int64_t first_display_id() const { return first_display_id_; } |
| @@ -490,6 +494,8 @@ class DISPLAY_MANAGER_EXPORT DisplayManager |
| bool unified_desktop_enabled_ = false; |
| + int64_t internal_display_has_accelerometer_ = false; |
|
kylechar
2017/06/22 15:28:31
Should this be bool?
oshima
2017/06/22 18:58:43
Doh, thank you for catching this. I was going back
|
| + |
| base::Closure created_mirror_window_; |
| base::ObserverList<DisplayObserver> observers_; |