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

Unified Diff: ui/android/display_android_manager.cc

Issue 2617623002: Switch RenderWidgetHostViewAndroid to use Screen (Closed)
Patch Set: remove comment change Created 3 years, 11 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 | « content/browser/web_contents/web_contents_android.cc ('k') | ui/display/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/display_android_manager.cc
diff --git a/ui/android/display_android_manager.cc b/ui/android/display_android_manager.cc
index 50e5552f3b98e3db54ffb058197d496c51b3e216..5e467c6877ae9cb6aa2f4e523739d5a2cfc9bb42 100644
--- a/ui/android/display_android_manager.cc
+++ b/ui/android/display_android_manager.cc
@@ -95,6 +95,7 @@ void DisplayAndroidManager::UpdateDisplay(
if (!Display::HasForceDeviceScaleFactor())
display.set_device_scale_factor(dipScale);
+ display.set_size_in_pixels(bounds_in_pixels.size());
display.SetRotationAsDegree(rotationDegrees);
display.set_color_depth(bitsPerPixel);
display.set_depth_per_component(bitsPerComponent);
« no previous file with comments | « content/browser/web_contents/web_contents_android.cc ('k') | ui/display/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698