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

Unified Diff: ash/magnifier/magnification_controller.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win Created 4 years, 1 month 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/host/transformer_helper.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/magnification_controller.cc
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc
index cbd04b3d03cc9046e8eedbfc47c6c19899ea8984..354016c4e2dc1bb04f6ed8117e7acd9458a1abd4 100644
--- a/ash/magnifier/magnification_controller.cc
+++ b/ash/magnifier/magnification_controller.cc
@@ -74,7 +74,7 @@ const int kCaretPanningMargin = 50;
void MoveCursorTo(aura::WindowTreeHost* host, const gfx::Point& root_location) {
auto host_location_3f = gfx::Point3F(gfx::PointF(root_location));
host->GetRootTransform().TransformPoint(&host_location_3f);
- host->MoveCursorToHostLocation(
+ host->MoveCursorToLocationInPixels(
gfx::ToCeiledPoint(host_location_3f.AsPointF()));
}
« no previous file with comments | « ash/host/transformer_helper.cc ('k') | ash/mus/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698