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

Unified Diff: ui/views/mus/drop_target_mus.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 | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/drop_target_mus.cc
diff --git a/ui/views/mus/drop_target_mus.cc b/ui/views/mus/drop_target_mus.cc
index dc69618abcab67904d4b49338012fc8fadf76d84..5cca1fe149007283dd0a0643a0f565aa2b1d441a 100644
--- a/ui/views/mus/drop_target_mus.cc
+++ b/ui/views/mus/drop_target_mus.cc
@@ -41,7 +41,7 @@ void DropTargetMus::Translate(uint32_t key_state,
aura::client::DragDropDelegate** delegate) {
gfx::Point location = screen_location;
gfx::Point root_location = location;
- root_window_->GetHost()->ConvertPointFromNativeScreen(&root_location);
+ root_window_->GetHost()->ConvertScreenInPixelsToDIP(&root_location);
aura::Window* target_window =
root_window_->GetEventHandlerForPoint(root_location);
bool target_window_changed = false;
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698