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

Unified Diff: ash/display/display_manager.cc

Issue 12496020: Use OutputConfigurator::SetDislpayMode for ctrl-fullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « ash/display/display_manager.h ('k') | chromeos/display/output_configurator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index bf4d188d250d3d53d253c69b539a822403afb284..e57757124608d9afec9c87c864a5b6650409c141 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -441,6 +441,10 @@ size_t DisplayManager::GetNumDisplays() const {
return displays_.size();
}
+bool DisplayManager::IsMirrored() const {
+ return mirrored_display_id_ != gfx::Display::kInvalidDisplayID;
+}
+
const gfx::Display& DisplayManager::GetDisplayNearestWindow(
const Window* window) const {
if (!window)
« no previous file with comments | « ash/display/display_manager.h ('k') | chromeos/display/output_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698