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

Unified Diff: ui/display/manager/display_manager.h

Issue 2950083002: Add accelerometer support property to Display. (Closed)
Patch Set: fixed to bool Created 3 years, 6 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
« no previous file with comments | « ui/display/display.h ('k') | ui/display/manager/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8c28cbfd30ee9a5fd99a038bc02432f1561a363c 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;
+ bool internal_display_has_accelerometer_ = false;
+
base::Closure created_mirror_window_;
base::ObserverList<DisplayObserver> observers_;
« no previous file with comments | « ui/display/display.h ('k') | ui/display/manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698