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

Unified Diff: chrome/browser/extensions/display_info_provider_chromeos.cc

Issue 2920703003: Sets the rotation source as USER when using the system display API (Closed)
Patch Set: Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/display_info_provider_chromeos.cc
diff --git a/chrome/browser/extensions/display_info_provider_chromeos.cc b/chrome/browser/extensions/display_info_provider_chromeos.cc
index a7dc13e29d093f2fb7a283e22162fe0e78aee8db..90db0ad27d674842e68cc2bf4f28099686182709 100644
--- a/chrome/browser/extensions/display_info_provider_chromeos.cc
+++ b/chrome/browser/extensions/display_info_provider_chromeos.cc
@@ -524,7 +524,7 @@ bool DisplayInfoProviderChromeOS::SetInfo(
} else {
display_configuration_controller->SetDisplayRotation(
display_id, DegreesToRotation(*info.rotation),
- display::Display::ROTATION_SOURCE_ACTIVE);
+ display::Display::ROTATION_SOURCE_USER);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698