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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_aura.cc

Issue 2317563004: Change blink::WebScreenInfo to content::ScreenInfo (Closed)
Patch Set: Fix Windows compile Created 4 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
Index: content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc b/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
index a0432a8038160c4ea60ecc8d3127c20c84b1834a..5715ca74661001f9094e47cf703b766cca449ba1 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_aura.cc
@@ -9,7 +9,6 @@
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_view_aura.h"
#include "content/browser/renderer_host/ui_events_helper.h"
-#include "third_party/WebKit/public/platform/WebScreenInfo.h"
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/events/event_processor.h"
@@ -24,9 +23,9 @@ namespace content {
SyntheticGestureTargetAura::SyntheticGestureTargetAura(
RenderWidgetHostImpl* host)
: SyntheticGestureTargetBase(host) {
- blink::WebScreenInfo screenInfo;
- host->GetWebScreenInfo(&screenInfo);
- device_scale_factor_ = screenInfo.deviceScaleFactor;
+ ScreenInfo screen_info;
+ host->GetScreenInfo(&screen_info);
+ device_scale_factor_ = screen_info.device_scale_factor;
}
void SyntheticGestureTargetAura::DispatchWebTouchEventToPlatform(

Powered by Google App Engine
This is Rietveld 408576698