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

Unified Diff: ash/display/display_manager.h

Issue 1361763003: Ignore UI scaling when internal display isn't active (in docked mode, for example) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | ash/display/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index fa5cccf7ebc30a082c82a8af0786a50046b41572..7cdd08cee86ffce7fd21f14ab24847a95aa2344d 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -240,6 +240,10 @@ class ASH_EXPORT DisplayManager
return active_display_list_;
}
+ // Returns true if the display specified by |display_id| is currently
+ // connected and active. (mirroring display isn't active, for example).
+ bool IsActiveDisplayId(int64 display_id) const;
+
// Returns the number of connected displays. This returns 2
// when displays are mirrored.
size_t num_connected_displays() const { return num_connected_displays_; }
« no previous file with comments | « no previous file | ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698