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

Unified Diff: content/browser/web_contents/web_contents_view_android.cc

Issue 2610853009: Remove DeviceDisplayInfo from WebContentsViewAndroid (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_android.cc
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index bd42f3ca0e4c3e1c2945985919d81a7770dd1998..1a9d3cbb0fcbaa538f3a54aa830ba4c49b504742 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -19,7 +19,6 @@
#include "content/public/common/drop_data.h"
#include "ui/android/overscroll_refresh_handler.h"
#include "ui/display/screen.h"
-#include "ui/gfx/android/device_display_info.h"
#include "ui/gfx/android/java_bitmap.h"
#include "ui/gfx/image/image_skia.h"
@@ -39,7 +38,6 @@ void DisplayToScreenInfo(const display::Display& display, ScreenInfo* results) {
results->orientation_angle = display.RotationAsDegree();
results->orientation_type =
RenderWidgetHostViewBase::GetOrientationTypeForMobile(display);
- gfx::DeviceDisplayInfo info;
results->depth = display.color_depth();
results->depth_per_component = display.depth_per_component();
results->is_monochrome = display.is_monochrome();
« 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